Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 41027

BackgroundSubtractorMOG2 set parameters

$
0
0
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?

Viewing all articles
Browse latest Browse all 41027

Trending Articles