Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

DirectShow camera gives black image

Hi, I built OpenCV from source (with WITH_DSHOW enabled) a couple of days ago and am unable to get it to open my DirectShow camera (IDS uEye). I open the device with VideoCapture(0) and then start a loop reading frames. If the read was successful I write the Mat to a bmp file (for debugging) and load it into an OpenGL texture. This works great with my creative webcam, but not with my IDS uEye. Is there anything special I need to do to grab frames from a DirectShow camera such as the uEye? I am using the C++ interface. Thanks!