capturing-images-from-webcam-using-opencv-python icon indicating copy to clipboard operation
capturing-images-from-webcam-using-opencv-python copied to clipboard

Issue when installed in docker image.

Open talktoabu opened this issue 6 years ago • 1 comments

  1. Laptop is Mac.
  2. Installed docker.
  3. Created container via ubuntu image.
  4. Installed dependencies.
  5. Tried to run this project and get error : "Cant open camera by index 0"

talktoabu avatar Jan 08 '19 20:01 talktoabu

@talktoabu, I believe this issue persist when using a container. The module is probably not allowed to use the camera from within the container.

One workaround is, download the repo as it is and then install it within a Python virtual environment. This way, none of your dependencies will be affected and the module will still run.

kevinam99 avatar May 02 '21 06:05 kevinam99