mirror of
https://github.com/azaion/autopilot.git
synced 2026-04-22 23:56:33 +00:00
Enables use of multiple TPUs in OPI5
This commit is contained in:
@@ -17,6 +17,7 @@ public:
|
||||
AiEngineRectangle rectangle;
|
||||
float propability;
|
||||
int classId;
|
||||
QString classStr;
|
||||
};
|
||||
|
||||
|
||||
@@ -38,10 +39,11 @@ protected:
|
||||
cv::Mat resizeAndPad(const cv::Mat& src);
|
||||
QString mModelPath;
|
||||
bool mActive;
|
||||
int mNumber;
|
||||
|
||||
public slots:
|
||||
virtual void performInferenceSlot(cv::Mat frame) = 0;
|
||||
|
||||
virtual void initialize(int number) = 0;
|
||||
signals:
|
||||
void resultsReady(AiEngineInferenceResult results);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user