Ask Your Question

MacOS Mojave - can't use Camera with imutils in Python

asked 2018-10-12 15:25:40 -0500

IvanAK gravatar image

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

"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.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2018-10-17 03:44:24 -0500

IvanAK gravatar image

And here is the solution, Terminal from Mac. iTerm is not compatible with the new OS

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2018-10-12 15:25:40 -0500

Seen: 791 times

Last updated: Oct 17 '18