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:
Tuomas Järvinen
2024-07-10 19:53:19 +02:00
parent 3d39d8fd99
commit 683f2d538b
6 changed files with 13 additions and 24 deletions
@@ -0,0 +1,19 @@
#pragma once
#include <QObject>
#include "aiengineinference.h"
#include "src-opencv-onnx/inference.h"
class AiEngineInferenceOpencvOnnx : public AiEngineInference
{
Q_OBJECT
public:
explicit AiEngineInferenceOpencvOnnx(QString modelPath, QObject *parent = nullptr);
public slots:
void performInferenceSlot(cv::Mat frame) override;
private:
//InferenceEngine *mEngine;
Inference mInference;
};