| 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 | { |
nothing calls this directly
no outgoing calls
no test coverage detected