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

Method updateTracks

tracking/src/tracker3d.cpp:147–161  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

solveMethod · 0.80

Tested by

no test coverage detected