Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

If you want the MOG to work, you should

#include "opencv2/bgsegm.hpp"

and then

pMOG = bgsegm::createBackgroundSubtractorMOG();