From ba994f4404b6eadcab4e0ead46ef4d3ffeceb024 Mon Sep 17 00:00:00 2001 From: Antoine Villeret Date: Thu, 10 Jul 2014 14:39:22 +0000 Subject: lots of changes ! 1. switch to a new build system based on automake (because we need to check for some lib on ./configure before make) 2. sort files in different directory 3. add some new features (some of them need OpenCV >= 2.4.5) svn path=/trunk/externals/pix_opencv/; revision=17324 --- examples/07_shape_extractor/07_shape_extractor.pd | 72 +++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 examples/07_shape_extractor/07_shape_extractor.pd (limited to 'examples/07_shape_extractor/07_shape_extractor.pd') diff --git a/examples/07_shape_extractor/07_shape_extractor.pd b/examples/07_shape_extractor/07_shape_extractor.pd new file mode 100644 index 0000000..c747346 --- /dev/null +++ b/examples/07_shape_extractor/07_shape_extractor.pd @@ -0,0 +1,72 @@ +#N canvas 571 629 1037 415 10; +#X declare -path ../..; +#X obj 618 -87 gemhead; +#X obj 645 -4 pix_texture; +#X obj 51 202 cnv 15 220 70 empty empty empty 20 12 0 14 -195568 -66577 +0; +#N canvas 1 86 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; +#X obj 160 260 gemwin; +#X msg 159 207 create \, 1; +#X msg 235 208 destroy; +#X msg 281 180 frame 25; +#X obj 162 170 t b b b; +#X msg 353 192 color 0 0 1; +#X obj 349 156 loadbang; +#X connect 1 0 2 0; +#X connect 2 0 3 0; +#X connect 2 0 9 0; +#X connect 2 1 4 0; +#X connect 2 1 7 0; +#X connect 3 0 0 0; +#X connect 4 0 0 0; +#X connect 6 0 5 0; +#X connect 7 0 5 0; +#X connect 8 0 5 0; +#X connect 9 0 6 0; +#X connect 9 2 8 0; +#X connect 10 0 5 0; +#X connect 11 0 10 0; +#X restore 56 246 pd gemwin; +#X msg 56 225 destroy; +#X text 57 207 Create window and render; +#X obj 618 -45 t a a; +#X obj 645 -24 pix_separator; +#X obj 822 85 gemhead; +#X obj 822 107 pix_texture; +#X obj 822 147 scaleXYZ 0.5 0.5 0; +#X obj 822 127 translateXYZ 0 2 0; +#X obj 475 64 pix_opencv_distrans; +#X obj 20 -69 declare -path ../..; +#X obj 475 176 pix_texture; +#X obj 475 196 translateXYZ 0 -2 0; +#X obj 475 216 scaleXYZ 0.5 0.5 0; +#X obj 475 236 rectangle 5.3333 4; +#X obj 823 168 rectangle 5.3333 4; +#X obj 475 156 pix_threshold; +#X msg 550 133 \$1 0 0; +#X floatatom 555 113 5 0 0 0 - - -, f 5; +#X obj 618 -67 pix_image ../test-contours.bmp; +#X connect 0 0 22 0; +#X connect 1 1 9 1; +#X connect 3 0 4 0; +#X connect 4 0 3 0; +#X connect 6 0 12 0; +#X connect 6 1 7 0; +#X connect 7 0 1 0; +#X connect 8 0 9 0; +#X connect 9 0 11 0; +#X connect 10 0 18 0; +#X connect 11 0 10 0; +#X connect 12 0 19 0; +#X connect 14 0 15 0; +#X connect 15 0 16 0; +#X connect 16 0 17 0; +#X connect 19 0 14 0; +#X connect 20 0 19 2; +#X connect 21 0 20 0; +#X connect 22 0 6 0; -- cgit v1.2.1