OpenShot Library | libopenshot
0.3.3
|
Go to the documentation of this file.
13 #include "opencv2/video/tracking.hpp"
14 #include "opencv2/highgui/highgui.hpp"
16 #ifndef _OPENCV_KCFTRACKER_HPP_
17 #define _OPENCV_KCFTRACKER_HPP_
27 cv::Rect_<float>
box = cv::Rect_<float>(0.0, 0.0, 0.0, 0.0);
40 void update(std::vector<cv::Rect> detection,
int frame_count,
double image_diagonal, std::vector<float> confidences, std::vector<int> classIds);
41 double GetIOU(cv::Rect_<float> bb_test, cv::Rect_<float> bb_gt);
std::vector< cv::Point > matchedPairs
struct TrackingBox TrackingBox
std::vector< int > assignment
std::set< int > unmatchedTrajectories
std::vector< TrackingBox > frameTrackingResult
std::vector< KalmanTracker > trackers
double GetCentroidsDistance(cv::Rect_< float > bb_test, cv::Rect_< float > bb_gt)
SortTracker(int max_age=7, int min_hits=2)
std::set< int > unmatchedDetections
double GetIOU(cv::Rect_< float > bb_test, cv::Rect_< float > bb_gt)
std::set< int > matchedItems
double max_centroid_dist_norm
std::vector< std::vector< double > > centroid_dist_matrix
TrackingBox(int _frame, float _confidence, int _classId, int _id)
std::vector< cv::Rect_< float > > predictedBoxes
void update(std::vector< cv::Rect > detection, int frame_count, double image_diagonal, std::vector< float > confidences, std::vector< int > classIds)
std::vector< int > dead_trackers_id