Ask Your Question

Revision history [back]

I tried to use function BackgroundSubstractorMOG2, but it didn't work

this is my code:

Ptr<backgroundsubtractormog2>cv::createBackgroundSubtractorMOG2 (int history = 500, double varThreshold=16, bool detectShadows=true);

but the system showed that

error C2572: “cv::createBackgroundSubtractorMOG2”:

I don't know how to fix it

thanks

click to hide/show revision 2
No.2 Revision

updated 2016-12-03 03:28:21 -0600

berak gravatar image

I tried to use function BackgroundSubstractorMOG2, but it didn't work

this is my code:

  

Ptr<backgroundsubtractormog2>cv::createBackgroundSubtractorMOG2 Ptr<BackgroundSubtractorMOG2>cv::createBackgroundSubtractorMOG2 (int history = 500, double varThreshold=16, bool detectShadows=true);

detectShadows=true);

but the system showed that

  

error C2572: “cv::createBackgroundSubtractorMOG2”:

“cv::createBackgroundSubtractorMOG2”:

I don't know how to fix it

thanks