Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

asked 2018-01-28 11:34:48 -0600

Nbb gravatar image

Opencv 3.3 - VideoCapture not working

I am using visual studio 2015 with opencv 3.3 on windows.

VideoCapture vidCap(fileName);
Mat image = vidCap.read(frame);

But image is empty. I have verified that filename is correct. How do I check what went wrong ? Can anybody tell me what went wrong ?

Opencv 3.3 - VideoCapture not working

I am using visual studio 2015 with opencv 3.3 on windows.

VideoCapture vidCap(fileName);
Mat image = vidCap.read(frame);
image;
vidCap.read(image);

But image is empty. I have verified that filename is correct. How do I check what went wrong ? Can anybody tell me what went wrong ?

Opencv 3.3 - VideoCapture not working

I am using visual studio 2015 with opencv 3.3 on windows.

VideoCapture vidCap(fileName);
Mat image;
vidCap.read(image);

But image is empty. I have verified that filename is correct. How do I check what went wrong ? Can anybody tell me what went wrong ?