Ask Your Question
0

BackgroundSubtractorMOG2 not working in OpenCV 3.0

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

Francisco gravatar image

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

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 -0600

berak gravatar image

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

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 -0600 )edit

Question Tools

1 follower

Stats

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

Seen: 1,157 times

Last updated: Mar 12 '15