MCPcopy Create free account
hub / github.com/Smorodov/Multitarget-tracker / CleanTracks

Method CleanTracks

example/VideoExample.h:196–204  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

194
195 ///
196 void CleanTracks()
197 {
198 if (m_tracks.size() != m_batchSize)
199 m_tracks.resize(m_batchSize);
200 for (auto& tracks : m_tracks)
201 {
202 tracks.clear();
203 }
204 }
205
206 std::vector<Frame> m_frames;
207 std::vector<regions_t> m_regions;

Callers 1

TrackingMethod · 0.80

Calls 3

resizeMethod · 0.80
sizeMethod · 0.45
clearMethod · 0.45

Tested by

no test coverage detected