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