CamShift Object Tracking (Composition by Peter)
This sample composition demonstrates the CamShift object tracking method.
In this example an initial Haar detection will be performed to define the tracking area which get passed over to the CamShift tracking. The tracking results are send through a Kalman filter to stabilize and predict the object movement (e.g. when the object is covered or only partly visible).The tracking results will be constantly re-evaluated according to a given threshold and the CamShift parameters automatically adjusted.
Still a lot of work in progress and plenty to optimize...
The attached CVDetection.plugin will need to be copied to (your user folder)/Library/Graphics/Quartz Composer Plug-Ins first
More like this