Fix model optimisation
This commit is contained in:
@@ -25,6 +25,10 @@ namespace ANSCENTER {
|
||||
std::mutex _mtx;
|
||||
std::string _modelFilePath;
|
||||
std::unique_ptr<SCRFD> _face_detector = nullptr;
|
||||
|
||||
// DML device-lost recovery (see ANSONNXYOLO.h for rationale)
|
||||
bool _dmlDeviceLost{ false };
|
||||
std::string _scrfdModelPath; // cached for CPU fallback recreation
|
||||
std::vector<Object> _movementObjects;
|
||||
int _retainDetectedFaces{ 0 };
|
||||
std::vector<Object> Inference(const cv::Mat& input, const std::string& camera_id, bool useDynamicImage = true, bool validateFace=false);
|
||||
|
||||
Reference in New Issue
Block a user