Hi, i'm trying to use the class BackgroundSubtracorMOG2 with Opencv 3.0.
After:
Ptr pMOG2;
pMOG2 = createBackgroundSubtractorMOG2();
I want to set some parameters like:
pMOG2.setShadowThreshold(0.5);
But it tells me:
> No member named 'setShadowThreshold' in 'cv::Ptr'
Same with the operator "->" instead of "."
Do you know how to set parameters of this class?
↧