\brief VideoExample::GetNextTimeStamp \param framesCounter \return
| 456 | /// \return |
| 457 | /// |
| 458 | time_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 |