aboutsummaryrefslogtreecommitdiff
path: root/pdp_opencv_of_lk-help.pd
diff options
context:
space:
mode:
authorN.N. <sevyves@users.sourceforge.net>2010-07-13 20:07:51 +0000
committerN.N. <sevyves@users.sourceforge.net>2010-07-13 20:07:51 +0000
commitab1fb8a513fed73c8005b1dc7bcc28e565033b86 (patch)
treeff6ecf9232268db07cd8780d5440dd2747029af0 /pdp_opencv_of_lk-help.pd
parent2ce4778864216af0c1c41457d7ad340007d53c24 (diff)
fixed angle calculations
svn path=/trunk/externals/pdp_opencv/; revision=13710
Diffstat (limited to 'pdp_opencv_of_lk-help.pd')
-rwxr-xr-xpdp_opencv_of_lk-help.pd36
1 files changed, 19 insertions, 17 deletions
diff --git a/pdp_opencv_of_lk-help.pd b/pdp_opencv_of_lk-help.pd
index dc83e46..9a030c2 100755
--- a/pdp_opencv_of_lk-help.pd
+++ b/pdp_opencv_of_lk-help.pd
@@ -1,4 +1,4 @@
-#N canvas 587 49 833 785 10;
+#N canvas 45 49 833 785 10;
#X obj -11 57 cnv 15 621 250 empty empty empty 20 12 0 14 -260097 -66577
0;
#X obj 229 97 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
@@ -7,7 +7,7 @@
#X msg 310 146 close;
#X obj 249 222 pdp_v4l;
#X msg 306 119 open /dev/video0;
-#X obj 423 95 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
+#X obj 423 95 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
1;
#X obj 423 122 metro 40;
#X msg 500 145 close;
@@ -37,7 +37,7 @@
#X obj 165 483 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X msg 80 481 nightmode \$1;
-#X floatatom 150 403 5 0 0 0 - - -;
+#X floatatom 153 389 5 0 0 0 - - -;
#X floatatom 154 428 5 0 0 0 - - -;
#X msg 67 426 threshold \$1;
#X text -10 0 with a great help from Mateu Batle & Alberto de Rodrigo
@@ -69,16 +69,18 @@ a very powerful machine;
#X text 127 314 you can rotate the object to check that the main direction
of movement is detected;
#X text -10 24 comments to ydegoyon@gmail.com;
-#X obj 19 534 pdp_opencv_of_hs;
#X text 198 463 ( default 10 );
-#X msg 56 401 winsize \$1 \$2;
-#X text 193 400 set window size ( width height ) [ default : 10x10
-];
+#X msg 59 387 winsize \$1 \$2;
#X obj 421 253 pdp_xv;
#X text 195 424 threshold value for the detection of movement ( default
100 );
#X text -11 -52 pdp_opencv_of_lk : Lukas Kanade optical flow algorithm.
;
+#X text 197 384 set window size ( width height ) [ default : 9x9 ]
+;
+#X text 199 398 window width and height must be one of (1 \, 3 \, 5
+\, 7 \, 9 \, 11 \, 13 \, 15);
+#X obj 18 535 pdp_opencv_of_lk;
#X connect 1 0 2 0;
#X connect 2 0 4 0;
#X connect 3 0 4 0;
@@ -89,7 +91,7 @@ of movement is detected;
#X connect 8 0 10 0;
#X connect 9 0 10 0;
#X connect 10 0 53 0;
-#X connect 10 0 61 0;
+#X connect 10 0 59 0;
#X connect 11 0 10 0;
#X connect 12 0 11 0;
#X connect 13 0 53 0;
@@ -105,20 +107,20 @@ of movement is detected;
#X connect 22 0 15 0;
#X connect 25 0 13 1;
#X connect 28 0 29 0;
-#X connect 29 0 57 0;
-#X connect 30 0 59 0;
+#X connect 29 0 64 0;
+#X connect 30 0 58 0;
#X connect 31 0 32 0;
-#X connect 32 0 57 0;
+#X connect 32 0 64 0;
#X connect 35 0 36 0;
#X connect 35 1 37 0;
-#X connect 39 0 57 0;
+#X connect 39 0 64 0;
#X connect 40 0 39 0;
#X connect 44 0 13 0;
-#X connect 46 0 57 0;
+#X connect 46 0 64 0;
#X connect 48 0 10 0;
#X connect 53 0 46 0;
#X connect 54 0 53 1;
-#X connect 57 0 27 0;
-#X connect 57 1 34 0;
-#X connect 57 2 35 0;
-#X connect 59 0 57 0;
+#X connect 58 0 64 0;
+#X connect 64 0 27 0;
+#X connect 64 1 34 0;
+#X connect 64 2 35 0;