简体   繁体   中英

How to find the accurate time of capturing a frame captured by an IP camera?

We use an IP camera and by OpenCV, capturing frame is done. Because of running heavy weight image processing program, sometimes capturing a frame last 50 millisecond. How we can find the accurate time of capturing that frame? The accepted error is about 5 millisecond.

根据 opencv doc,VideoCapture 类的 get 公共方法(带有选项 CAP_PROP_POS_MSEC)以毫秒为单位提供视频文件的当前位置。因此它不适用于您从 rtsp 流中抓取的帧。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM