webcam-pulse-detector icon indicating copy to clipboard operation
webcam-pulse-detector copied to clipboard

HIGHGUI ERROR: V4L/V4L2: VIDIOC_S_CROP

Open simenko opened this issue 12 years ago • 5 comments

Ubuntu 12.04.2 OpenCV 2.4.5 Python 2.7.3

After running "python webcam-pulse-detector/get_pulse.py" I get an error "HIGHGUI ERROR: V4L/V4L2: VIDIOC_S_CROP"

My webcam is turned on and I see window with webcam output when I run script.

simenko avatar Apr 16 '13 11:04 simenko

Do the other functions of the application (data plotting, etc) work fine as well?

And do you get this error when running any other OpenCV based applications? I uploaded a test program (test_webcam.py) for people to try that's independent of my other code, to help narrow down openCV problems.

thearn avatar Apr 16 '13 12:04 thearn

No, I can only see window with video from webcam - no data, no plotting at all.

When I run test_webcam.py I get exactly the same result.

I did not try to run any other OpenCV apps - I have installed OpenCV just to try pulse detector.

simenko avatar Apr 16 '13 14:04 simenko

I have same problem

452 avatar Sep 18 '13 19:09 452

I have also the same problem. Is there already a solution or explanation?

manolovaza avatar Feb 03 '14 12:02 manolovaza

@manolovaza , are you also on Ubuntu? I've unfortunately had a difficult time reproducing the result, it seems to be an OpenCV build issue. It doesn't seem to be something that I can fix within the scope of this code - A working fix would be in the form of an upstream patch to OpenCV (or it's python bindings).

Side note: I'm working on a non-opencv version of the code as well.

thearn avatar Feb 03 '14 21:02 thearn