Ask Your Question

cookieWill's profile - activity

2016-03-26 12:19:16 -0600 received badge  Enthusiast
2016-03-25 18:50:44 -0600 answered a question VideoCapture buffer

So I found out that the implementation being used is in cap_v4l.cpp

There is this default constant "#define DEFAULT_V4L_BUFFERS 4". It is used to initialize a structure member that seems to be unreachable from outside.

Isn't that kind of a bad design ?

2016-03-22 15:24:57 -0600 commented question VideoCapture buffer

OpenCV 3.1 on Ubuntu 14.04

2016-03-21 10:32:03 -0600 asked a question VideoCapture buffer

Hi

I a am totally new here.

I am trying to read images from a webcam with VideoCapture (cap >> image;).

I found out there is a buffer of 5 frames, so when I want to read a frame it is in fact an old one stored in the buffer.

Do you know where does this come from (hardware, OS, OpenCV) ? Why is that ? Why is it 5 frames and can it be changed ?