Ask Your Question

where I can find source code of cv2.BackgroundSubtractorMOG?

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

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

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

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



thank you so much for fast response

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

you are welcome!

StevenPuttemans gravatar imageStevenPuttemans ( 2015-03-09 07:28:34 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower


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

Seen: 556 times

Last updated: Mar 09 '15