Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Background Subtraction example

Hi, I am trying to follow this tutorial : http://docs.opencv.org/master/d1/dc5/tutorial_background_subtraction.html 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