Hello forum,
I tried to follow this tutorial on background subtraction at http://docs.opencv.org/master/d1/dc5/tutorial_background_subtraction.html
I seem to be having a problem though.
pMOG = createBackgroundSubtractorMOG(); //MOG approach
gives me an error
Error: identifier "createBackgroundSubtractorMOG" is undefined.
Also, for the BackgroundSubtractorMOG2, how do I remove shadows ? I cant seem to add in any parameters when I create the background subtractor MOG2. Looking through http://docs.opencv.org/modules/video/doc/motion_analysis_and_object_tracking.html does not tell me how to use the backgroundsubtractors. Hope someone can clarify on this. Thanks