Ask Your Question
0

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

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

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

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

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

IvanAK gravatar image

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

https://apple.stackexchange.com/quest...

edit flag offensive delete link more

Question Tools

1 follower

Stats

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

Seen: 1,689 times

Last updated: Oct 17 '18