An openFrameworks addon to show several different methods of using openCV for foreground/background image segmentation
Latest commit 57dfca4 Dec 12, 2013 @JGL Create
Failed to load latest commit information.
exampleToCopyIntoApps/ofxBackgroundTest/001FromOpencvExample first commit Jan 3, 2012
src first commit Jan 3, 2012 Create Dec 12, 2013
README first commit Jan 3, 2012
install.xml first commit Jan 3, 2012



ofxBackground is compatible with of_preRelease_v007_osx

Does nice background removal, using a variety of methods, all based on Chapter 9: Image Parts and Segmentation of "Learning OpenCV"

Example code downloaded from: comes with the following notice:

*************** License:**************************
Oct. 3, 2008
Right to use this code in any way you want without warrenty, support or any guarentee of it working.

BOOK: It would be nice if you cited it:
Learning OpenCV: Computer Vision with the OpenCV Library
by Gary Bradski and Adrian Kaehler
Published by O'Reilly Media, October 3, 2008

ISBN-10: 0596516134 or: ISBN-13: 978-0596516130    

* The source code is on sourceforge at:
* The OpenCV wiki page (As of Oct 1, 2008 this is down for changing over servers, but should come back):
* An active user group is at:
* The minutes of weekly OpenCV development meetings are at:

Template for class was ofxContourFinder from ofxOpenCV. 

Thanks to:

Golan Levin for support and advice and inspiration all the way from 1997 to the present day.

OF-DEV and YesYesNo for support.

Theo Watson and Zach Lieberman for their inspiration and attitude.

Todd Vanderlin, Kyle McDonald and Chris O'Shea for their support and openness.

The whole openFrameworks community.


Uses ofxOpenCV included with FAT oF download.