MCPcopy Create free account
hub / github.com/davisking/dlib / propagate_track

Method propagate_track

examples/learning_to_track_ex.cpp:118–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

116 }
117
118 void propagate_track()
119 {
120 /*
121 This function is called when the dlib tools have decided, for the current time
122 step, that none of the available detections associate with this track. So the
123 point of this function is to perform a track update without a detection. To
124 say that another way. Every time you ask the dlib tools to perform detection
125 to track association they will update each track by calling either
126 update_track() or propagate_track(). Which function they call depends on
127 whether or not a detection was associated to the track.
128 */
129 ++time_since_last_association;
130 }
131
132 matrix<double,0,1> last_measurements;
133 unsigned long time_since_last_association;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected