1 | initial version |
BackgroundSubtractorMOG was moved to contrib
please see readme there, on how to add it to your opencv libs, and then:
#include "opencv2/bgsegm.hpp"
Ptr<bgsegm::BackgroundSubtractorMOG> mog = bgsegm::createBackgroundSubtractorMOG();
2 | No.2 Revision |
BackgroundSubtractorMOG was moved to contrib
please see readme there, on how to add it to your opencv libs, rebuild, and then:
#include "opencv2/bgsegm.hpp"
Ptr<bgsegm::BackgroundSubtractorMOG> mog = bgsegm::createBackgroundSubtractorMOG();