I am trying to run a OpenCV
tutorial that uses the cv.VideoCapture(0)
. This does require permission from terminal to access the camera. Here is a blog description showing that they see the terminal
app included in the Applications list:
But for me the Terminal
is not provided as an optional App:
That is actually not at all surprising. But then how to add Terminal
? The apple docs only show this: https://support.apple.com/guide/mac-help/control-access-to-your-camera-on-mac-mchlf6d108da/mac :
No mention of how to add other apps is included. So how to add Terminal
? (Actually I would also be interested in adding for iTerm2
..)
tccutil reset Camera
from your system terminal (not iTerm2). And then run iTerm2 again, it should ask for the permission to access your Camera.