mirror of
https://github.com/azaion/autopilot.git
synced 2026-04-23 10:06:34 +00:00
Fully working YOLOv8 detection with ONNX runtime.
This commit is contained in:
@@ -4,6 +4,11 @@
|
||||
#include <QString>
|
||||
#include <QVector>
|
||||
#include <opencv2/core.hpp>
|
||||
#include <opencv2/imgproc.hpp>
|
||||
|
||||
|
||||
const int INFERENCE_SQUARE_WIDTH = 640;
|
||||
const int INFERENCE_SQUARE_HEIGHT = 640;
|
||||
|
||||
|
||||
class AiEngineRectangle {
|
||||
@@ -38,6 +43,7 @@ public:
|
||||
bool isActive(void);
|
||||
|
||||
protected:
|
||||
cv::Mat resizeAndPad(const cv::Mat& src);
|
||||
QString mModelPath;
|
||||
bool mActive;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user