Ask Your Question

Revision history [back]

Frame capture is needlessly slow

I just can't seem to figure out why I am getting SUCH a low FPS rate. I have a very simple program which just captures a frame from a webcam, and uses imshow() to display it. My calculated FPS is about 6.7. The cam reports an FPS of 15.

To be clear, I am doing NO processing, just throwing the image into a window.

In fact, if I do nothing but get the frame (cvQueryFrame), and don't even display it, I get that frame rate!

I am using OpenCV 2.4.8, 32-bit on Windows. My PC is a Toshiba Qosmio running Intel i7-4700MQ @ 2.4 GHz. 16 MB RAM. Windows 8. The PC should be smoking fast, right?

Any ideas? Thanks