raghavaonly
Posts: 1
Joined: Tue Jun 17, 2014 5:37 am

After multiple image captures with usb web cam getting error

Tue Jun 17, 2014 6:06 am

Hai everyone..i am new to raspberry pi and this forum too.I am trying to do template matching by using javaCV and OpenCV api on raspberry pi.After some multiple captures of image and processing the result i am getting an error like Unable to stop the stream : No such device
Unable to stop the stream : Bad file Descriptor
Highgui Error : V4L/V4l2: Could not obtain specifics of capture window.
VIDIOC_QBUF: Bad file Descriptor
Can you help me in solving this problem and why this error is happening.
More Details:
I am using Logitech c920 webcam, with resolution 2304*1536, Softwares used Raspbian Os,Java CV,Opencv libraries ,after around 15 to 25 random captures it is giving this error, for capture image i am using cvCreateCameraCapture(index) in javacv library.

Return to “Java”