Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Problem with MOG2 OCL test

Hi, I've downloaded and compiled OpenCV 3.3 source from github. I'm trying to run the MOG2 OpenCL test (opencv_perf_video), but I get the following error:

opencv\sources\modules\video\perf\opencl\perf_bgfg_mog2.cpp(67): error: Value of: cap.isOpened()
Actual: false
Expected: true

I haven't modified the perf_bgfg_mog2.cpp file, just compiled it as-is. Could someone help me with troubleshooting this issue?

Many thanks