22 #ifndef _NNDEPLOY_TRACK_TRACKER_H_
23 #define _NNDEPLOY_TRACK_TRACKER_H_
26 #include <opencv2/core/core.hpp>
27 #include <opencv2/highgui/highgui.hpp>
28 #include <opencv2/imgproc/imgproc.hpp>
36 typedef std::map<int, int>
Match;
49 virtual bool update(
const cv::Mat &dets,
const cv::Mat &emb,
50 std::vector<Track> *tracks);
55 void linear_assignment(
const cv::Mat &cost,
float cost_limit,
Match *matches,
56 std::vector<int> *mismatch_row,
57 std::vector<int> *mismatch_col);
59 float iou_thresh = 0.15f);
virtual bool update(const cv::Mat &dets, const cv::Mat &emb, std::vector< Track > *tracks)
std::map< int, int >::iterator MatchIterator
std::vector< Trajectory > TrajectoryPool
std::map< int, int > Match
std::vector< Trajectory * > TrajectoryPtrPool