VideoCapture latency

asked 2014-09-20 11:44:33 -0600

Hansg91 gravatar image

Hey!

I am using a VideoCapture object to stream images from my webcam built in my macbook. I notice somewhat of a delay though (in the order of 200-400msec I would guess). If I use Photobooth to show the camera output, there is hardly any lag at all.

I tried to call VideoCapture::read in a separate thread and have the main thread visualize the image, but this had no effect as far as I could tell. Does anyone have a suggestion?

Best regards, Hans

edit retag flag offensive close merge delete