diff options
Diffstat (limited to 'pdp_opencv_lk-help.pd')
-rw-r--r-- | pdp_opencv_lk-help.pd | 108 |
1 files changed, 91 insertions, 17 deletions
diff --git a/pdp_opencv_lk-help.pd b/pdp_opencv_lk-help.pd index f3a66d8..6ae1682 100644 --- a/pdp_opencv_lk-help.pd +++ b/pdp_opencv_lk-help.pd @@ -1,18 +1,92 @@ -#N canvas 0 0 521 599 10; -#X obj 101 158 pdp_xv; -#X floatatom 256 100 5 0 0 0 - - -; -#X msg 101 -138 open /dev/video0; -#X obj 101 57 pdp_v4l2; -#X text 295 101 threshold value; -#X msg 186 61 mode \$1; -#X floatatom 255 61 5 0 0 0 - - -; -#X text 301 60 mode \, 0 \, 1 \, 2 \, 3 \, 4; -#X floatatom 257 80 5 0 0 0 - - -; -#X text 298 80 Max value used in some modes; -#X obj 101 99 pdp_opencv_lk; -#X connect 2 0 3 0; -#X connect 3 0 10 0; -#X connect 5 0 10 0; +#N canvas 479 193 718 599 10; +#X obj 109 285 pdp_xv; +#X msg 22 -157 open /dev/video0; +#X obj 96 -26 pdp_v4l2; +#X floatatom 230 99 5 0 0 0 - - -; +#X obj 109 242 pdp_opencv_lk; +#X obj 96 -74 metro 40; +#X msg 96 -105 bang; +#X msg 137 -106 stop; +#X text 265 98 window size; +#X obj 285 77 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 +1; +#X msg 200 75 nightmode \$1; +#X text 304 78 set nightmode; +#X text 107 370 pdp_opencv_lk : contour point marker using pyramid +segmentation; +#X msg 195 49 quality \$1; +#X floatatom 270 50 5 0 0 0 - - -; +#X floatatom 278 25 5 0 0 0 - - -; +#X msg 181 24 mindistance \$1; +#X text 319 23 set distance ( default 10 ); +#X msg 174 -4 init; +#X text 212 -4 init point detections; +#X obj 265 -49 pdp_xv; +#X obj 264 -76 pdp_opencv_edge; +#X floatatom 373 -73 5 0 0 0 - - -; +#X text 410 -75 edge threshold; +#X floatatom 363 50 5 0 0 0 - - -; +#X obj 174 -27 t b; +#X obj 308 48 / 1000; +#X msg 160 285 cursor 1; +#X obj 109 311 route press; +#X msg 231 125 mark \$1 \$2; +#X msg 242 151 delete \$1; +#X text 107 395 written by Lluis Gomez i Bigorda ( lluisgomez@hangar.org +) and Yves Degoyon ( ydegoyon@gmail.com ); +#X text 313 151 delete a marker; +#X msg 253 177 clear; +#X text 301 178 delete all markers; +#X msg 260 204 maxmove \$1; +#X text 374 204 max movement of a marker ( default 5 pisels ); +#X floatatom 336 206 5 0 0 0 - - -; +#X text 495 49 set quality ( default 100 ); +#X msg 403 48 100; +#X obj 436 48 loadbang; +#X text 310 126 mark %x %y : mark a point to track ( max points : 10 +); +#X obj 273 296 unpack f f; +#X floatatom 274 321 5 0 0 0 - - -; +#X floatatom 332 322 5 0 0 0 - - -; +#X text 275 337 X; +#X text 330 338 Y; +#X obj 272 270 route 1 2 3 4 5 6 7 8 9 10; +#X obj 380 -41 / 2; +#X connect 0 0 28 0; +#X connect 1 0 2 0; +#X connect 2 0 4 0; +#X connect 2 0 21 0; +#X connect 3 0 4 1; +#X connect 4 0 0 0; +#X connect 4 0 27 0; +#X connect 4 1 47 0; +#X connect 5 0 2 0; #X connect 6 0 5 0; -#X connect 8 0 10 1; -#X connect 10 0 0 0; +#X connect 7 0 5 0; +#X connect 9 0 10 0; +#X connect 10 0 4 0; +#X connect 13 0 4 0; +#X connect 14 0 13 0; +#X connect 15 0 16 0; +#X connect 16 0 4 0; +#X connect 18 0 4 0; +#X connect 21 0 20 0; +#X connect 22 0 21 1; +#X connect 24 0 26 0; +#X connect 24 0 25 0; +#X connect 24 0 48 0; +#X connect 25 0 18 0; +#X connect 26 0 14 0; +#X connect 27 0 0 0; +#X connect 28 0 29 0; +#X connect 29 0 4 0; +#X connect 30 0 4 0; +#X connect 33 0 4 0; +#X connect 35 0 4 0; +#X connect 37 0 35 0; +#X connect 39 0 24 0; +#X connect 40 0 39 0; +#X connect 42 0 43 0; +#X connect 42 1 44 0; +#X connect 47 0 42 0; +#X connect 48 0 22 0; |