Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

VideoCapture latency

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