diff options
author | N.N. <sevyves@users.sourceforge.net> | 2009-07-14 21:28:43 +0000 |
---|---|---|
committer | N.N. <sevyves@users.sourceforge.net> | 2009-07-14 21:28:43 +0000 |
commit | dd3573d96eb199785c502efad739d3ba7fee79fa (patch) | |
tree | 20299951f6aaef669f111a8cbaff034fa7d6a5af | |
parent | 2971a0a88eb2023d7cbbb366d9ae6764a100bc6b (diff) |
fixed help patches
svn path=/trunk/externals/pdp_opencv/; revision=11865
-rwxr-xr-x | pdp_opencv_cvk.cc | 6 | ||||
-rwxr-xr-x | pdp_opencv_dft-help.pd | 5 | ||||
-rw-r--r-- | pdp_opencv_haarcascade-help.pd | 4 |
3 files changed, 7 insertions, 8 deletions
diff --git a/pdp_opencv_cvk.cc b/pdp_opencv_cvk.cc index 5e94737..b1b7090 100755 --- a/pdp_opencv_cvk.cc +++ b/pdp_opencv_cvk.cc @@ -38,10 +38,6 @@ #include "highgui.h" #include "ml.h" -#define MAX_MARKERS 10 - -const int MAX_COUNT = 500; - typedef struct pdp_opencv_cvk_struct { t_object x_obj; @@ -525,7 +521,7 @@ void *pdp_opencv_cvk_new(t_symbol *s, int argc, t_atom *argv ) x->trainData = NULL; x->trainClasses = NULL; - error( "pdp_opencv_cvk : loading %d samples from : %s", x->x_nsamples, x->x_filepath ); + post( "pdp_opencv_cvk : loading %d samples from : %s", x->x_nsamples, x->x_filepath ); pdp_opencv_cvk_load( x ); return (void *)x; diff --git a/pdp_opencv_dft-help.pd b/pdp_opencv_dft-help.pd index 2e9efab..f0d7ceb 100755 --- a/pdp_opencv_dft-help.pd +++ b/pdp_opencv_dft-help.pd @@ -8,7 +8,7 @@ #X obj -155 14 pdp_v4l; #X msg -137 -55 open /dev/video0; #X obj -30 -111 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 -0 1; +1 1; #X obj -30 -84 metro 40; #X msg 34 -65 close; #X msg 30 -89 open /dev/video0; @@ -135,6 +135,7 @@ 1; #X text 106 230 <-- also outputs phase diagram; #X text 110 240 ( necessary for reverse dft ); +#X obj 151 401 * 0.9; #X connect 1 0 2 0; #X connect 2 0 4 0; #X connect 3 0 4 0; @@ -188,6 +189,7 @@ #X connect 61 0 65 0; #X connect 62 0 66 1; #X connect 63 0 66 0; +#X connect 64 0 90 0; #X connect 65 0 60 0; #X connect 66 0 57 0; #X connect 66 0 58 0; @@ -197,3 +199,4 @@ #X connect 84 0 48 0; #X connect 85 1 86 0; #X connect 87 0 85 1; +#X connect 90 0 83 1; diff --git a/pdp_opencv_haarcascade-help.pd b/pdp_opencv_haarcascade-help.pd index af0cbf9..020aec0 100644 --- a/pdp_opencv_haarcascade-help.pd +++ b/pdp_opencv_haarcascade-help.pd @@ -1,4 +1,4 @@ -#N canvas 30 49 1247 801 10; +#N canvas 35 49 1247 801 10; #X obj -158 12 cnv 15 621 250 empty empty empty 20 12 0 14 -260097 -66577 0; #X obj 82 52 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1 @@ -77,7 +77,7 @@ on Haar's algorithm ( decision tree algorithm ); #X text 315 599 Xcenter Ycenter Radius; #X text 171 599 Xcenter Ycenter Radius; #X text 25 599 Xcenter Ycenter Radius; -#X msg 21 415 scale_factor \$1; +#X msg 24 415 scale_factor \$1; #X obj -68 228 hsl 128 15 0 500 0 0 empty empty empty -2 -8 0 10 -262144 -1 -1 0 1; #X text -158 -9 Written by Lluis Gomez i Bigorda ( lluisgomez@hangar.org |