OpenCv error can't open camera through video capture

后端 未结 6 2030
太阳男子
太阳男子 2021-01-17 20:01

I was using my cam through opencv and suddenly after restarting I ran my code it shows below error:

[ WARN:0] global /io/opencv/modules/videoio/src/cap_v4l.c         


        
6条回答
  •  醉酒成梦
    2021-01-17 20:41

    This issue is due to the interruption. Try to end the execution with the key 'q' for example, don't close the window suddenly.

    I solved the same issue by opening terminal again and execute the same script again.

提交回复
热议问题