#N canvas 391 142 752 609 10; #X obj 142 61 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1 -1; #X msg 34 125 loop \$1; #X obj 35 103 tgl 15 0 empty empty empty 20 8 0 8 -262144 -1 -1 0 1 ; #X msg 27 56 open \$1; #X obj 26 32 openpanel; #X obj 11 15 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1 -1; #X floatatom 168 83 5 0 0 0 - - -; #X msg 99 62 stop; #X obj 175 52 hsl 300 15 0 1000 0 0 empty empty empty -2 -6 0 8 -262144 -1 -1 0 1; #X obj 131 132 metro 70; #X obj 126 164 pdp_yqt; #X obj 254 104 metro 70; #X obj 299 70 bng 15 250 50 0 empty empty empty 20 8 0 8 -262144 -1 -1; #X msg 256 71 stop; #X obj 567 476 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; #X obj 567 528 pdp_control; #X msg 567 501 thread \$1; #X floatatom 567 589 5 0 0 0 - - -; #X obj 567 560 route pdp_drop; #X text 75 574 written by Yves Degoyon ( ydegoyon@free.fr ); #X obj 117 477 pdp_glx; #X msg 298 274 rgb \$1 \$2 \$3; #X obj 397 274 pack f f f; #X floatatom 579 273 5 0 0 0 - - -; #X text 590 292 R; #X floatatom 628 274 5 0 0 0 - - -; #X floatatom 672 274 5 0 0 0 - - -; #X text 683 291 B; #X obj 528 274 t b f; #X text 634 292 G; #X obj 480 274 t b f; #X obj 118 527 route press drag release; #X msg 262 172 pick \$1 \$2; #X text 353 171 Pick the color of the shape; #X msg 272 195 detect \$1 \$2; #X text 370 195 Detect a shape of that color; #X msg 282 219 tolerance \$1; #X floatatom 379 221 5 0 0 0 - - -; #X text 76 558 pdp_shape : shape recognition object; #X text 423 221 Set tolerance ( default = 20 ); #X text 300 294 Set the color of the shape; #X msg 292 246 paint \$1; #X obj 362 247 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; #X text 387 246 Paint option ( default = off ); #X floatatom 315 459 5 0 0 0 - - -; #X floatatom 276 477 5 0 0 0 - - -; #X floatatom 365 459 5 0 0 0 - - -; #X floatatom 277 498 5 0 0 0 - - -; #X text 321 438 X1; #X text 369 438 X2; #X text 249 476 Y1; #X text 249 499 Y2; #X text 322 486 Coordinates of detected shape; #X obj 416 312 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1; #X msg 314 312 luminosity \$1; #X text 444 311 Use luminosity ( default = on ); #X obj 117 421 pdp_shape; #X msg 35 461 cursor 1; #X obj 405 354 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1 1; #X msg 326 352 shape \$1; #X text 433 354 Draw shape option ( default = on ); #X obj 506 329 loadbang; #X msg 471 330 1; #X msg 333 381 isolate \$1; #X obj 421 382 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1; #X text 442 382 Only show detected shape ( default = off ); #X obj 245 134 pdp_v4l2; #X msg 341 102 open /dev/video0; #X connect 0 0 9 0; #X connect 1 0 10 0; #X connect 2 0 1 0; #X connect 3 0 10 0; #X connect 4 0 3 0; #X connect 5 0 4 0; #X connect 6 0 10 1; #X connect 7 0 9 0; #X connect 8 0 6 0; #X connect 9 0 10 0; #X connect 10 0 56 0; #X connect 11 0 66 0; #X connect 12 0 11 0; #X connect 13 0 11 0; #X connect 14 0 16 0; #X connect 15 0 18 0; #X connect 16 0 15 0; #X connect 18 0 17 0; #X connect 20 0 31 0; #X connect 21 0 56 0; #X connect 22 0 21 0; #X connect 23 0 22 0; #X connect 25 0 30 0; #X connect 26 0 28 0; #X connect 28 0 22 0; #X connect 28 1 22 2; #X connect 30 0 22 0; #X connect 30 1 22 1; #X connect 31 0 32 0; #X connect 31 2 34 0; #X connect 32 0 56 0; #X connect 34 0 56 0; #X connect 36 0 56 0; #X connect 37 0 36 0; #X connect 41 0 56 0; #X connect 42 0 41 0; #X connect 53 0 54 0; #X connect 54 0 56 0; #X connect 56 0 20 0; #X connect 56 1 44 0; #X connect 56 2 45 0; #X connect 56 3 46 0; #X connect 56 4 47 0; #X connect 57 0 20 0; #X connect 58 0 59 0; #X connect 59 0 56 0; #X connect 61 0 62 0; #X connect 62 0 53 0; #X connect 62 0 58 0; #X connect 63 0 56 0; #X connect 64 0 63 0; #X connect 66 0 56 0; #X connect 67 0 66 0;