MacOS Mojave - can't use Camera with imutils in Python
After the new update to macOS (Mojave), I can't access the camera. I'm using a python script with opencv
and imutils
(doing some object detection), and once I run the script, it stops. After the debug part I'm seeing that it stops once it call the VideoStream from imutls.video
.
"vs = VideoStream(src=0).start()"
So, when I open the Security & Privacy > Privacy, I'm seeing that the new macOS have added Camera and Microphone options. There is no "+" or "-" sign to add additional programs in order to access. Even if there is, I'm not sure if I can add a python script.
If someone has some kind of solution about this, please feel free to share it.