实验中发现opencv的cvCaptureFromCAM 使用的是vfw,采用消息机制,速度较慢,测试发现fps只有 9
代码说明:
实验中发现opencv的cvCaptureFromCAM 使用的是vfw,采用消息机制,速度较慢,测试发现fps只有 9-12左右,太慢了. 发现经过使用directshow后速度提升到60帧/s.在opencv group上了解到这是一个普遍问题,也许有人做过转换,却没有完整的例子与代码.在此贴出.对希望提高opencv视频分析速度的有所帮助-Opencv experiment found that the cvCaptureFromCAM using vfw, the use of information mechanism to slow fps test found that only about 9-12, too slow. Discovered through the use of DirectShow velocity to 60/s. In opencv group understanding that this is a common problem, perhaps someone has done the conversion, but no complete examples and code.此贴out in. opencv want to improve the speed of video analysis help
下载说明:请别用迅雷下载,失败请重下,重下不扣分!