Ask Your Question
0

HELP FOR VIDEOIO Error

asked 2019-12-06 04:49:26 -0500

Cyborg gravatar image

Guys I'm using ubuntu in windows subsytem for linux, I am now working on image processing with opencv and python, The image detection and face recognition goes well for a file , but when comes to live interface with my externally connected webcam it shows an error: VIDEOIO ERROR: V4L: can't open camera by index 0 Please help me to solve this within this subsytem

edit retag flag offensive close merge delete

Comments

Try cap = cv2.VideoCapture(1) instead of zeros.

supra56 gravatar imagesupra56 ( 2019-12-07 09:36:45 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2019-12-06 06:59:34 -0500

mvuori gravatar image

Apparently, WSL can't access camera and OpenCV can't do anything about it.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2019-12-06 04:49:26 -0500

Seen: 31 times

Last updated: Dec 06 '19