Frame capture is needlessly slow [closed]

asked 2014-03-18 23:08:55 -0600

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

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by sturkmen
close date 2020-09-22 17:45:50.584529


imho, neither your computer is to blame here, nor opencv, but more the driver software of your webcam.

i got an old sigma, which runs at about 7fps, and some newer speedlink ones, which run at 35fps ( all off-the-shelf supermarket stuff)

(sidenote, not related to your question, - please make this world a better place and trade the outdated c-api for c++ !)

berak gravatar imageberak ( 2014-03-19 14:34:53 -0600 )edit

Berak, thanks for that info. This may be naive, but is there any way I can upgrade the driver? I have gone through the standard Windows stuff and the "best driver software is already installed." It is a Toshiba intergrated web camera using the Microsoft driver 6.3.9600. Any ideas? Thanks!

rubinstu gravatar imagerubinstu ( 2014-03-19 22:34:06 -0600 )edit