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 : 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