Ask Your Question

Revision history [back]

Example doesnt correctly

Hello everyone. I try to work with my webcam by this https://github.com/opencv/opencv/blob/master/samples/cpp/videocapture_basic.cpp example. Compiled by msvc2019 and opencv(3.4.3) from vcpkg. But smth went wrong here

C:\Users\username\source\repos\Cascade Classifier\Debug>videocapture_basic.exe
[ INFO:0] VIDEOIO: Enabled backends(5, sorted by priority): MSMF(1000); DSHOW(990); VFW(980); CV_IMAGES(970); CV_MJPEG(960)
ERROR! Unable to open camera