Fixed PC build to work with ONNX Yolov10 files

This commit is contained in:
Tuomas Järvinen
2024-07-09 20:34:21 +02:00
parent c4af0cc461
commit 607ac22b46
3 changed files with 24 additions and 11 deletions
+3 -4
View File
@@ -47,12 +47,11 @@ void AiEngine::inferenceResultsReceivedSlot(AiEngineInferenceResult result)
{
//qDebug() << "AiEngine got inference results in thread: " << QThread::currentThreadId();
#ifdef OPI5_BUILD
mGimbalControl->inferenceResultSlot(result);
cv::imshow("Received Frame", result.frame);
#endif
//#ifndef OPI5_BUILD
//cv::imshow("Received Frame", result.frame);
//#endif
cv::imshow("Received Frame", result.frame);
}