I\'m trying to use Docker for one of our projects which uses OpenCV to process webcam feed (Python). But I can\'t seem to get access to the webcam within docker, here\'s the cod
Try to use this:
-v /dev/video0:/dev/video0
in place of
--device=/dev/video0
and execute:
$ xhost +
before docker run