I am making an application in java using Eclipse. When I try to access the webcam with opencv it throws error:
OpenCV: not authorized to capture video (status 0), requesting...
OpenCV: can not spin main run loop from other thread, set OPENCV_AVFOUNDATION_SKIP_AUTH=1 to disable authorization request and perform it in your application.
OpenCV: camera failed to properly initialize!
I need to give permissions to a program developed in java (.jar) to access the webcam. Apple indicates that it is done from info.plist as can be seen in this link.
How can I do this in eclipse? How can I access the webcam?