mirror of
https://github.com/azaion/autopilot.git
synced 2026-04-22 21:46:33 +00:00
19 lines
385 B
C++
19 lines
385 B
C++
#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:
|
|
Inference mInference;
|
|
};
|