4/19/2017

OpenCV Background subtraction 3.2 version example (for MOG, MOG2, GMG, KNN)

This is example for background subtraction on opencv 3.2 version

previously, I post 2.7 version example on here.
http://study.marearts.com/2014/04/opencv-study-background-subtractor-mog.html

But some usage is changed, and knn subtraction method is added.

Many people ask that example based on opencv 3.2

refer to below source code

Thank you.

< gist code >

< /gist code >


5 comments:

  1. Thanks, it works now. Is there any way to draw blob in this code as the other you have here? using opencv 3.2

    ReplyDelete
  2. Thank you ! This awesome !

    ReplyDelete
  3. This comment has been removed by the author.

    ReplyDelete
  4. I'm getting the error at 4,44,45,46 and 47th lines. can you please help me to fix it.

    ReplyDelete
  5. Can you give example for MOG Background Subtraction - OpenCV with Python for Image Analysis only

    ReplyDelete