Ask Your Question

Revision history [back]

Mac camera fail to initialise

Hi all,

When I try to run:

cv::VideoCapture cap;

cap.open(0);

I get the error:

Error:

OpenCV: not authorized to capture video (status 0), requesting...

OpenCV: camera failed to properly initialize!

It's my first time using OpenCV4 (4.1.0) with C++11 and Xcode.

Any help is appreciated.

Thanks, Tiger

Mac camera fail to initialise

Hi all,

When I try to run:

cv::VideoCapture cap;

cap.open(0);

cap; cap.open(0);

I get the error:

Error:

OpenCV: not authorized to capture video (status 0), requesting...

requesting... OpenCV: camera failed to properly initialize!

initialize!

It's my first time using OpenCV4 (4.1.0) with C++11 and Xcode.

Any help is appreciated.

Thanks, Tiger