MCPcopy Create free account
hub / github.com/OpenPTrack/open_ptrack_v2 / updateTracks

Method updateTracks

tracking/src/tracker.cpp:148–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

146}
147
148void
149Tracker::updateTracks()
150{
151 createDistanceMatrix();
152 createCostMatrix();
153
154 // Solve Global Nearest Neighbor problem:
155 Munkres munkres;
156 cost_matrix_ = munkres.solve(cost_matrix_, false); // rows: targets (tracks), cols: detections
157
158 updateDetectedTracks();
159 fillUnassociatedDetections();
160 updateLostTracks();
161 createNewTracks();
162}
163
164// void Tracker::drawRgb()
165// {

Callers 4

detection_cbFunction · 0.45
detection_cbFunction · 0.45
detection_cbFunction · 0.45
detection_cbFunction · 0.45

Calls 1

solveMethod · 0.80

Tested by

no test coverage detected