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);
double max_centroid_dist_norm
std::vector< int > dead_trackers_id
std::vector< TrackingBox > frameTrackingResult
std::set< int > unmatchedDetections
std::vector< std::vector< double > > centroid_dist_matrix
std::vector< cv::Point > matchedPairs
double GetCentroidsDistance(cv::Rect_< float > bb_test, cv::Rect_< float > bb_gt)
std::vector< KalmanTracker > trackers
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 > assignment
std::set< int > matchedItems
std::set< int > unmatchedTrajectories
double GetIOU(cv::Rect_< float > bb_test, cv::Rect_< float > bb_gt)
TrackingBox(int _frame, float _confidence, int _classId, int _id)