opencv error camera permission

Hi, whenever I try to run opencv code in pycharm it gives me the following error:

OpenCV: not authorized to capture video (status 0), requesting...
OpenCV: camera failed to properly initialize!

I am running opencv version 4.5.5 on python 3.8.2 on macOS. I read on previous posts that I had to add the camera permissions key and value to info.plist, and I have done this, but it still doesn't work. It's supposed to give a pop-up requesting camera access but it just doesn't, unlike in terminal. Does anyone know another fix to this?

thanks in advance.

1 comment
Comment actions Permalink

Hi, what is your IDE version? 

There was a known issue which was fixed quite a while ago.


Please sign in to leave a comment.