11 #include "opencv2/video/tracking.hpp"
12 #include "opencv2/highgui/highgui.hpp"
18 #define StateType cv::Rect_<float>
60 void update_class_scores(
const std::vector<ClassScore>& classScores,
int fallbackClassId,
float fallbackConfidence);
80 std::vector<StateType> m_history;
This class represents the internel state of individual tracked objects observed as bounding box.
void update_class_scores(const std::vector< ClassScore > &classScores, int fallbackClassId, float fallbackConfidence)
KalmanTracker(StateType initRect, float confidence, int classId, int objectId, const std::vector< ClassScore > &classScores={})
std::map< int, double > classScoreHistory
void update(StateType stateMat)
StateType get_rect_xysr(float cx, float cy, float s, float r)
ClassScore(int _classId, float _score)