我一直在使用IP相机的rtsp流进行视频拍摄。对于捕获和显示,我发现openvino-opencv比system python-opencv快近10倍。但有些不正常的事情对我来说没有意义:
openvino-opencv读取和显示图像的平均时间是0.01 sec approx.,除了偶尔(大约在每250个帧之后),它需要4.5 sec approx。
注意到
CAMERA MODEL: FLIR AX8
CAMERA FRAME_RATE = 30
Average time taken by system-python to read and display is 0.11
I tested with UCAM, both performs similar
I tested with static video, system-python runs faster.```发布于 2020-03-17 10:32:56
这是可能的IP相机有某种缓冲,以避免非连续流。
我建议您的消费帧速度与IP相机帧匹配,这应该不再是一个问题了。
https://stackoverflow.com/questions/60720451
复制相似问题