aboutsummaryrefslogtreecommitdiff
path: root/help/pix_opencv_knear-help.pd
diff options
context:
space:
mode:
Diffstat (limited to 'help/pix_opencv_knear-help.pd')
-rw-r--r--help/pix_opencv_knear-help.pd94
1 files changed, 94 insertions, 0 deletions
diff --git a/help/pix_opencv_knear-help.pd b/help/pix_opencv_knear-help.pd
new file mode 100644
index 0000000..5143dec
--- /dev/null
+++ b/help/pix_opencv_knear-help.pd
@@ -0,0 +1,94 @@
+#N canvas 562 208 1154 642 10;
+#X obj 384 31 gemhead;
+#X obj 365 414 pix_texture;
+#X obj 365 442 square 2;
+#X obj 9 -28 cnv 15 220 70 empty empty empty 20 12 0 14 -195568 -66577
+0;
+#N canvas 5 50 454 304 gemwin 0;
+#X obj 67 89 outlet;
+#X obj 67 10 inlet;
+#X obj 67 39 route create;
+#X msg 67 70 set destroy;
+#X msg 182 68 set create;
+#X msg 156 142 dimen 256 128;
+#X obj 127 212 gemwin;
+#X msg 120 172 create \, 1;
+#X msg 208 175 destroy;
+#X msg 248 132 frame 25;
+#X obj 129 122 t b b b;
+#X connect 1 0 2 0;
+#X connect 2 0 3 0;
+#X connect 2 0 10 0;
+#X connect 2 1 4 0;
+#X connect 2 1 8 0;
+#X connect 3 0 0 0;
+#X connect 4 0 0 0;
+#X connect 5 0 6 0;
+#X connect 7 0 6 0;
+#X connect 8 0 6 0;
+#X connect 9 0 6 0;
+#X connect 10 0 7 0;
+#X connect 10 1 5 0;
+#X connect 10 2 9 0;
+#X restore 14 16 pd gemwin;
+#X msg 14 -8 destroy;
+#X text 15 -25 Create window and render;
+#X obj 200 368 pix_texture;
+#X obj 200 396 square 2;
+#X obj 367 159 translateXYZ -2 0 0;
+#X obj 367 193 separator;
+#X obj 343 221 cnv 15 700 180 empty empty empty 20 12 0 14 -24198 -66577
+0;
+#X obj 356 -55 bng 25 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
+-1;
+#X obj 356 -26 openpanel;
+#X msg 356 -6 open \$1;
+#X obj 364 259 translateXYZ 4 0 0;
+#X text 9 -82 based on basic OCR with Open CV tutorial;
+#X text 9 -71 by damiles : http://blog.damiles.com/?p=93;
+#X text 9 -58 adapted to PD by Yves Degoyon ( ydegoyon@gmail.com )
+;
+#X text 9 -93 pix_opencv_knear : OCR-like pattern recognition;
+#X msg 532 250 bang;
+#X text 571 254 Compare the incoming frame to the patterns;
+#X text 637 281 Load a new set of patterns from a directory;
+#X text 637 294 All patterns should be of the same size;
+#X floatatom 591 355 10 0 0 0 - - -, f 10;
+#X text 663 356 Distance of the incoming frame compared to the patterns
+;
+#X obj 384 72 pix_image;
+#X obj 592 380 print distance;
+#X obj 575 177 loadbang;
+#X obj 382 110 pix_grey;
+#X text 433 -33 load patterns \, create the Gem window and then load
+a character image;
+#X msg 550 283 load plus 15;
+#X obj 367 215 pix_separator;
+#X obj 365 336 pix_opencv_knear;
+#X obj 575 199 t b b;
+#X text 638 309 Directory could be ether relative to patch or absolute
+;
+#X connect 0 0 26 0;
+#X connect 1 0 2 0;
+#X connect 4 0 5 0;
+#X connect 5 0 4 0;
+#X connect 7 0 8 0;
+#X connect 9 0 10 0;
+#X connect 9 0 7 0;
+#X connect 10 0 32 0;
+#X connect 12 0 13 0;
+#X connect 12 0 20 0;
+#X connect 13 0 14 0;
+#X connect 14 0 26 0;
+#X connect 15 0 33 0;
+#X connect 20 0 33 0;
+#X connect 26 0 29 0;
+#X connect 28 0 34 0;
+#X connect 29 0 9 0;
+#X connect 31 0 33 0;
+#X connect 32 0 15 0;
+#X connect 33 0 1 0;
+#X connect 33 1 24 0;
+#X connect 33 1 27 0;
+#X connect 34 0 20 0;
+#X connect 34 1 31 0;