Skip to content

Instantly share code, notes, and snippets.

@taboularasa
Created August 3, 2011 21:57
Show Gist options
  • Save taboularasa/1123894 to your computer and use it in GitHub Desktop.
Save taboularasa/1123894 to your computer and use it in GitHub Desktop.
Movid preset for Flatland player position tracking
pipeline create Camera v
pipeline create GrayScale g
pipeline create Threshold t
pipeline set t threshold 150
pipeline create BlobFinder b
pipeline create GreedyBlobTracker tr
pipeline create Tuio tu
pipeline set tu ip 149.142.121.154
#pipeline create ImageDisplay d1
#pipeline create ImageDisplay d2
pipeline connect v 0 g 0
pipeline connect g 0 t 0
pipeline connect t 0 b 0
#pipeline connect t 0 d1 0
#pipeline connect b 0 d2 0
pipeline connect b 1 tr 0
pipeline connect tr 0 tu 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment