#N canvas 236 140 1192 685 10; #X obj 141 -12 cnv 15 700 450 empty empty empty 20 12 0 14 -24198 -66577 0; #X floatatom 288 328 5 0 0 0 - - -; #X text 323 327 window size; #X obj 353 70 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1; #X msg 268 68 nightmode \$1; #X text 372 71 set nightmode; #X msg 263 42 quality \$1; #X floatatom 338 43 5 0 0 0 - - -; #X floatatom 346 18 5 0 0 0 - - -; #X msg 249 17 mindistance \$1; #X text 387 16 set distance ( default 10 ); #X msg 242 -11 init; #X text 311 -11 init point detections; #X floatatom 431 43 5 0 0 0 - - -; #X obj 376 41 / 1000; #X msg 294 136 mark \$1 \$2; #X msg 308 157 delete \$1; #X text 502 157 delete a marker; #X msg 316 177 clear; #X text 364 178 delete all markers; #X msg 322 197 maxmove \$1; #X floatatom 398 199 5 0 0 0 - - -; #X text 563 42 set quality ( default 100 ); #X msg 471 41 100; #X obj 504 41 loadbang; #X obj 285 383 unpack f f; #X floatatom 286 408 5 0 0 0 - - -; #X floatatom 344 409 5 0 0 0 - - -; #X text 287 424 X; #X text 342 425 Y; #X obj 284 357 route 1 2 3 4 5 6 7 8 9 10; #X text 450 306 position of each marked point; #X obj 178 346 pix_opencv_lk; #X obj 664 -167 gemmouse; #X obj 678 -133 f; #X obj 648 -134 f; #X obj 734 -89 t b b; #X obj 645 -89 pack f f; #X text 373 137 mark x y : mark a point to track ( max points : 10 ); #X obj 710 -139 route 1; #X msg 731 -114 bang; #X msg 277 91 mark all; #X msg 287 112 mark none; #X text 340 92 mark all points; #X text 357 113 reset all markers; #X text 422 241 make a delaunay with all points; #X msg 342 241 delaunay on; #X msg 350 261 delaunay off; #X text 451 274 make a delaunay with point 1 and a tolerance of 50 ( all points which color is in that range will be included in the delaunay) ; #X msg 333 217 ftolerance \$1; #X floatatom 425 217 5 0 0 0 - - -; #X text 465 217 frame tolerance for point identification ( default : 5 ); #X text -232 -324 written by Lluis Gomez i Bigorda ( lluisgomez@hangar.org ) and Yves Degoyon ( ydegoyon@gmail.com ); #X text -231 -336 Corner points detection based on Shi and Tomasi; #X text -231 -348 pix_opencv_lk : Lukas-Kanade corner points tracking ; #X obj 376 158 hradio 15 1 0 8 empty empty empty 0 -8 0 10 -262144 -1 -1 0; #X floatatom 639 -112 5 0 0 0 - - -; #X floatatom 692 -109 5 0 0 0 - - -; #X msg 350 283 pdelaunay 1 500; #X obj 341 -335 gemhead; #X obj 353 -308 bng 25 250 50 0 load empty empty 0 -6 0 8 -262144 -1 -1; #X obj 410 -133 bng 15 250 50 0 empty empty end_reached 20 7 0 10 -262144 -1 -1; #X floatatom 392 -168 5 0 10000 1 frame# - -; #X obj 353 -279 openpanel; #X msg 353 -259 open \$1; #X obj 341 -150 pix_film; #X msg 359 -216 auto \$1; #X obj 359 -234 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1; #X msg 454 -233 colorspace RGBA; #X msg 559 -233 colorspace RGB; #X msg 663 -233 colorspace Grey; #X obj 454 -261 loadbang; #N canvas 0 0 450 300 vswitch 0; #X obj 144 263 outlet; #X obj 36 26 inlet; #X obj 260 29 inlet; #X obj 36 133 spigot; #X obj 260 141 spigot; #X obj 119 64 loadbang; #X msg 83 93 0; #X msg 113 93 1; #X msg 296 104 0; #X msg 326 104 1; #X obj 399 34 inlet; #X obj 399 67 select 0; #X connect 1 0 3 0; #X connect 2 0 4 0; #X connect 3 0 0 0; #X connect 4 0 0 0; #X connect 5 0 7 0; #X connect 5 0 8 0; #X connect 6 0 3 1; #X connect 7 0 3 1; #X connect 8 0 4 1; #X connect 9 0 4 1; #X connect 10 0 11 0; #X connect 11 0 7 0; #X connect 11 0 8 0; #X connect 11 1 9 0; #X connect 11 1 6 0; #X restore 178 -115 pd vswitch; #X obj 250 -119 tgl 15 0 empty load empty 17 7 0 10 -262144 -1 -1 0 1; #X obj 161 -166 pix_video; #X obj 163 -320 gemhead; #X msg 200 -241 device 0; #X msg 209 -210 driver 1; #X msg 186 -295 dialog; #X msg 191 -265 device /dev/dv1394-0; #X obj 178 469 pix_texture; #X obj -231 -425 cnv 15 220 70 empty empty empty 20 12 0 14 -195568 -66577 0; #N canvas 0 22 454 304 gemwin 0; #X obj 67 89 outlet; #X obj 67 10 inlet; #X obj 67 41 route create; #X msg 67 70 set destroy; #X msg 182 68 set create; #N canvas 87 154 247 179 Gem.init 0; #X obj 112 15 loadbang; #X msg 62 93 reset; #X obj 49 135 outlet; #X msg 107 89 dimen 320 240; #X o