#N canvas 55 233 930 428 10;
#X declare -lib Gem;
#X obj 297 283 separator;
#X obj 297 304 pix_texture;
#X obj 96 130 gemhead 10;
#X obj 96 190 pix_video;
#X text 298 264 Render source video;
#X obj 297 344 square 4;
#X msg 166 153 device 2;
#N canvas 162 133 570 420 serin 0;
#X obj 205 60 cnv 20 20 20 empty \$0-open-canvas 2 4 10 0 16 -233017
-1 0;
#X obj 60 61 hradio 18 1 1 8 empty empty empty 0 -6 0 8 -225271 -1
-1 2;
#X obj 60 13 inlet;
#X msg 200 202 label \$1;
#X obj 200 180 makefilename %d;
#X obj 59 108 int;
#X obj 59 337 outlet;
#X msg 201 306 set \$1 \$2;
#X obj 59 266 trigger bang anything;
#X obj 201 286 list;
#X obj 200 225 send \$0-open-canvas;
#X msg 60 210 device \$1;
#X connect 1 0 5 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 5 0 11 0;
#X connect 7 0 6 0;
#X connect 8 0 6 0;
#X connect 8 1 9 0;
#X connect 9 0 7 0;
#X connect 11 0 8 0;
#X coords 0 -1 1 1 165 20 1 60 60;
#X restore 166 129 pd serin;
#X msg 321 153 colorspace RGBA;
#X msg 430 152 dialog;
#X obj 297 324 rotateXYZ 0 180 0;
#X obj 65 285 pix_texture;
#X obj 65 347 square 1.5;
#X obj 65 326 rotateXYZ 0 180 0;
#X obj 65 305 translateXYZ -2.4 -2.4 0.1;
#X text 72 264 Show color detection output;
#N canvas 249 346 1447 322 gemwin 0;
#X obj 102 122 tgl 15 0 \$0-gemstart \$0-gemstart empty 17 7 0 10 -262144
-1 -1 0 1;
#X obj 102 161 r \$0-gemstart;
#X obj 102 182 select 1 0;
#X msg 102 214 create \, 1;
#X msg 177 215 destroy;
#X obj 102 239 t a;
#X obj 318 54 inlet;
#X obj 318 255 gemwin;
#X obj 318 100 t a a;
#X obj 318 287 outlet;
#X obj 350 128 route create destroy;
#X obj 350 150 t b;
#X msg 350 172 1;
#X obj 390 150 t b;
#X msg 390 172 0;
#X obj 350 195 t f;
#X msg 350 219 set \$1;
#X text 118 122 rendering;
#X connect 1 0 2 0;
#X connect 2 0 3 0;
#X connect 2 1 4 0;
#X connect 3 0 5 0;
#X connect 4 0 5 0;
#X connect 5 0 8 0;
#X connect 6 0 8 0;
#X connect 7 0 9 0;
#X connect 8 0 7 0;
#X connect 8 1 10 0;
#X connect 10 0 11 0;
#X connect 10 1 13 0;
#X connect 11 0 12 0;
#X connect 12 0 15 0;
#X connect 13 0 14 0;
#X connect 14 0 15 0;
#X connect 15 0 16 0;
#X connect 16 0 0 0;
#X coords 0 -1 1 1 85 40 1 100 100;
#X restore 388 14 pd gemwin;
#X text 6 21 Reliable colors are detected in an incoming video \, each
pixel being classified into 6 classes: Red \, Green \, Blue \, Yellow
\, Black \, and White. A light brown color is used to visualize the
pixels whose color could not be reliably classified. The detector is
high precision with moderate recall \, meaning it avoids false positives
at the expense of a smaller number of classified pixels.;
#X msg 228 153 dimen 320 240;
#X obj 65 240 pix_colorclassify;
#X text 7 385 Author: Ricardo Fabbri labmacambira.sf.net rfabbri at
gmail;
#X obj 822 5 declare -lib Gem;
#X connect 0 0 1 0;
#X connect 1 0 10 0;
#X connect 2 0 3 0;
#X connect 3 0 0 0;
#X connect 3 0 19 0;
#X connect 6 0 3 0;
#X connect 7 0 6 0;
#X connect 8 0 3 0;
#X connect 9 0 3 0;
#X connect 10 0 5 0;
#X connect 11 0 14 0;
#X connect 13 0 12 0;
#X connect 14 0 13 0;
#X connect 18 0 3 0;
#X connect 19 0 11 0;
