SwisTrack/Examples

Try to get the leurre example running, which is in subversion and in the bundle released. It ships with an AVI file, so you can get it running without messing around with cameras or making it work on your video. Make sure you can use the display to see images from each stage in the pipeline.

After that, create a pipeline of your own by selecting approximately one component from each category, which usually looks something like this:

Trigger component, usually timer trigger. Optional.

Input component, either camera or from AVI file (for testing purposes also from image file).

Conversion to color.

Adaptive background subtraction.

Thresholding.

Binary mask, perhaps.

Blob detection

Calibration with TSAI

Tracking, if desired (you get positions even without this)

Build the pipeline gradually, verifying things are working by using the display after each step. Tune the parameters to make it work well on your video, and take a look at the examples to see the best way to set things up.