mirror of
https://github.com/azaion/autopilot.git
synced 2026-04-22 12:56:33 +00:00
Chaneges to opi_rtsp test application
- refactoring - can use normal YOLOv8 files converted to ONNX format - does not work with azaion ONNX files!
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
#ifdef OPI5_BUILD
|
||||
#include "src-opi5/aiengineinferenceopi5.h"
|
||||
#else
|
||||
#include "src-onnx/aiengineinferenceonnx.h"
|
||||
#include "src-opencv-onnx/aiengineinferenceopencvonnx.h"
|
||||
#endif
|
||||
|
||||
AiEngine::AiEngine(QString modelPath, QObject *parent)
|
||||
@@ -18,7 +18,7 @@ AiEngine::AiEngine(QString modelPath, QObject *parent)
|
||||
#ifdef OPI5_BUILD
|
||||
mInference = new AiEngineInferenceOpi5(modelPath);
|
||||
#else
|
||||
mInference = new AiEngineInferenceOnnx(modelPath);
|
||||
mInference = new AiEngineInferenceOpencvOnnx(modelPath);
|
||||
#endif
|
||||
|
||||
QThread *inferenceThread = new QThread(this);
|
||||
|
||||
Reference in New Issue
Block a user