Background Subtraction example
Hi, I am trying to follow this tutorial : http://docs.opencv.org/master/d1/dc5/... When I compile the code I get this error :
Unhandled exception at 0x07EFC900 (amdocl.dll) in ConsoleApplication1.exe: 0xC0000005: Access violation reading location 0xF5A910D4.
The error arrived at the processVideo function at this line : pMOG2->apply(frame, fgMaskMOG2);
How can I solve this issue ? Thanks in advance for your help and sorry for my english
Thanks it works now! adding cv::ocl::setUseOpenCL(false); and
what is your graphic card?