Ask Your Question
0

BackgroundSubtractorMOG2 not working in OpenCV 3.0

asked 2015-03-12 02:39:14 -0500

Francisco gravatar image

updated 2015-03-12 02:40:02 -0500

Hi everyone!

I can't initial BackgroundSubtractorMOG2 with my variable.

image description

Help me pls! Thanks.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2015-03-12 02:44:02 -0500

berak gravatar image

updated 2015-03-12 08:05:42 -0500

you will have to use the factory method to create one, there is no public constructor.

BackgroundSubtractorMOG2 mog2 = Video.createBackgroundSubtractorMOG2();
edit flag offensive delete link more

Comments

Thank you so much!

Francisco gravatar imageFrancisco ( 2015-03-12 07:39:38 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2015-03-12 02:39:14 -0500

Seen: 1,001 times

Last updated: Mar 12 '15