#include <sort_filter/sort.hpp>
|
double | GetCentroidsDistance (cv::Rect_< float > bb_test, cv::Rect_< float > bb_gt) |
|
double | GetIOU (cv::Rect_< float > bb_test, cv::Rect_< float > bb_gt) |
|
| SortTracker (int max_age=7, int min_hits=2) |
|
void | update (std::vector< cv::Rect > detection, int frame_count, double image_diagonal, std::vector< float > confidences, std::vector< int > classIds) |
|
Definition at line 32 of file sort.hpp.
◆ SortTracker()
SortTracker::SortTracker |
( |
int |
max_age = 7 , |
|
|
int |
min_hits = 2 |
|
) |
| |
◆ GetCentroidsDistance()
double SortTracker::GetCentroidsDistance |
( |
cv::Rect_< float > |
bb_test, |
|
|
cv::Rect_< float > |
bb_gt |
|
) |
| |
◆ GetIOU()
double SortTracker::GetIOU |
( |
cv::Rect_< float > |
bb_test, |
|
|
cv::Rect_< float > |
bb_gt |
|
) |
| |
◆ update()
void SortTracker::update |
( |
std::vector< cv::Rect > |
detection, |
|
|
int |
frame_count, |
|
|
double |
image_diagonal, |
|
|
std::vector< float > |
confidences, |
|
|
std::vector< int > |
classIds |
|
) |
| |
◆ _max_age
int SortTracker::_max_age |
◆ _min_hits
int SortTracker::_min_hits |
◆ alive_tracker
bool SortTracker::alive_tracker |
◆ allItems
std::set<int> SortTracker::allItems |
◆ assignment
std::vector<int> SortTracker::assignment |
◆ centroid_dist_matrix
std::vector<std::vector<double> > SortTracker::centroid_dist_matrix |
◆ dead_trackers_id
std::vector<int> SortTracker::dead_trackers_id |
◆ detNum
unsigned int SortTracker::detNum = 0 |
◆ frameTrackingResult
std::vector<TrackingBox> SortTracker::frameTrackingResult |
◆ matchedItems
std::set<int> SortTracker::matchedItems |
◆ matchedPairs
std::vector<cv::Point> SortTracker::matchedPairs |
◆ max_centroid_dist_norm
double SortTracker::max_centroid_dist_norm = 0.05 |
◆ predictedBoxes
std::vector<cv::Rect_<float> > SortTracker::predictedBoxes |
◆ trackers
◆ trkNum
unsigned int SortTracker::trkNum = 0 |
◆ unmatchedDetections
std::set<int> SortTracker::unmatchedDetections |
◆ unmatchedTrajectories
std::set<int> SortTracker::unmatchedTrajectories |
The documentation for this class was generated from the following files: