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

Method update_track

examples/learning_to_track_ex.cpp:105–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103 }
104
105 void update_track(const detection& det)
106 {
107 /*
108 This function is called when the dlib tools have decided that det should be
109 associated with this track. So the point of update_track() is to, as the name
110 suggests, update the track with the given detection. In general, you can do
111 whatever you want in this function. Here we simply record the last measurement
112 state and reset the time since last association.
113 */
114 last_measurements = det.measurements;
115 time_since_last_association = 0;
116 }
117
118 void propagate_track()
119 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected