Ask Your Question
0

where I can find source code of cv2.BackgroundSubtractorMOG?

asked 2015-03-09 07:11:03 -0600

Shiloh gravatar image

Hello, where I can find the source code of cv2.BackgroundSubtractorMOG? I already search but only find background subtractor MOG2...

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-03-09 07:19:19 -0600

Well, originally both BGSG methods where in the main branch, however MOG2 outperforms the MOG version by far, and thus there was a decision to keep only MOG2 in the main repository right here inside the video module for the master branch.

However the MOG implementation can still be found in the contrib repository in the bgsegm module, right here. Build the repo with the contrib modules and you will be able to access it.

edit flag offensive delete link more

Comments

1

thank you so much for fast response

Shiloh gravatar imageShiloh ( 2015-03-09 07:28:07 -0600 )edit

you are welcome!

StevenPuttemans gravatar imageStevenPuttemans ( 2015-03-09 07:28:34 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2015-03-09 07:11:03 -0600

Seen: 899 times

Last updated: Mar 09 '15