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

Method GetNextTimeStamp

example/VideoExample.cpp:458–464  ·  view source on GitHub ↗

\brief VideoExample::GetNextTimeStamp \param framesCounter \return

Source from the content-addressed store, hash-verified

456/// \return
457///
458time_point_t VideoExample::GetNextTimeStamp(int framesCounter) const
459{
460 if (m_useArchieveTime)
461 return m_startTimeStamp + std::chrono::milliseconds(cvRound(framesCounter * (1000.f / m_fps)));
462 else
463 return std::chrono::system_clock::now();
464}
465
466///
467/// \brief VideoExample::Detection

Callers 1

CaptureAndDetectMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected