Opencv Error on Ubuntu Webcam (Logitech C270) Capture -> HIGHGUI ERROR: V4L/V4L2: VIDIOC_S_CROP

后端 未结 5 1398
星月不相逢
星月不相逢 2021-02-08 03:32

this erorr message appears on running simple camera capture on Ubuntu with logitech C270 (OpenCV 2.4.2/C++):

HIGHGUI ERROR: V4L/V4L2: VIDIOC_S_CROP

5条回答
  •  忘了有多久
    2021-02-08 04:30

    If you just want to get rid of the output quickly and grep -v Corrupt does not work for somehow - like for me - you could also redirect stderr to nothing, e.g.

    ./my_app 2> /dev/null
    
    python my_app.py 2> /dev/null
    

    This will of course hide other error messages, too.

提交回复
热议问题