Demonstrating basic object (blob) tracking with a webcam, using C++, OpenCV, and cvBlob on Ubuntu 12.10. The example code shown here detects blobs based on a color range, in this case blue. The complete code for this video can be found, along with my post, on my Blog, at: http://wp.me/p1RD28-yW.
Source code is available on GitHub (https://github.com/garystafford/objec.... As of May 2014, there is a revised version of the project on the 'rev05_2014′ branch. The above mentioned post describes the original code on the 'Master' branch. All details are posted on GitHub.