add SingleObjectTracker position xyz output

This commit is contained in:
Eason Yi
2024-05-23 16:16:59 +08:00
committed by 王世豪
parent fb9b65401d
commit 8bdde82ff3
2 changed files with 47 additions and 0 deletions

View File

@@ -105,6 +105,9 @@ public:
std::string getAlgorithm();
int getBackend();
int getTarget();
double getObjectWs();
double getObjectHs();
int useWidthOrHeight();
protected:
virtual bool setupImpl();
virtual void initImpl(cv::Mat img_, const cv::Rect& bounding_box_);
@@ -114,6 +117,9 @@ protected:
std::string _algorithm;
int _backend;
int _target;
int _use_width_or_height;
double _object_ws;
double _object_hs;
};