Ask Your Question

Revision history [back]

click to hide/show revision 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();

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();