mirror of
https://github.com/azaion/autopilot.git
synced 2026-04-22 22:56:33 +00:00
23 lines
471 B
C++
23 lines
471 B
C++
#pragma once
|
|
|
|
#include <QObject>
|
|
#include "aiengineinference.h"
|
|
#include "yolov8.h"
|
|
#include "image_utils.h"
|
|
#include "file_utils.h"
|
|
#include "image_drawing.h"
|
|
|
|
class AiEngineInferenceOpi5 : public AiEngineInference
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit AiEngineInferenceOpi5(QString modelPath, QObject *parent = nullptr);
|
|
~AiEngineInferenceOpi5();
|
|
|
|
public slots:
|
|
void performInferenceSlot(cv::Mat frame) override;
|
|
|
|
private:
|
|
rknn_app_context_t mRrknnAppCtx;
|
|
};
|