diff options
author | N.N. <sevyves@users.sourceforge.net> | 2009-06-07 19:48:17 +0000 |
---|---|---|
committer | N.N. <sevyves@users.sourceforge.net> | 2009-06-07 19:48:17 +0000 |
commit | c6451ef77cb4a191a40c328bda3c9fc4e3388be7 (patch) | |
tree | e35737da448d6d8450d8e12220ff165e08a54e8e /pdp_opencv_contours_boundingrect-help.pd | |
parent | 3f1035b537cfcebd273ac705e511790c8491cff6 (diff) |
added mode and method and trying to track contours
svn path=/trunk/externals/pdp_opencv/; revision=11698
Diffstat (limited to 'pdp_opencv_contours_boundingrect-help.pd')
-rw-r--r-- | pdp_opencv_contours_boundingrect-help.pd | 36 |
1 files changed, 24 insertions, 12 deletions
diff --git a/pdp_opencv_contours_boundingrect-help.pd b/pdp_opencv_contours_boundingrect-help.pd index 86217dc..346540f 100644 --- a/pdp_opencv_contours_boundingrect-help.pd +++ b/pdp_opencv_contours_boundingrect-help.pd @@ -1,4 +1,4 @@ -#N canvas 159 107 1249 684 10; +#N canvas 164 131 1249 684 10; #X obj 41 -82 cnv 15 621 223 empty empty empty 20 12 0 14 -260097 -66577 0; #X obj 91 75 pdp_1394L; @@ -25,7 +25,7 @@ #X obj 91 189 pdp_convert bitmap/rgb/*; #X text 255 183 COLORMODEL CONVERSION :: allways remember pdp_opencv only works in RGB colormodel; -#X obj 47 337 cnv 15 621 313 empty empty empty 20 12 0 14 -258113 -66577 +#X obj 48 328 cnv 15 621 313 empty empty empty 20 12 0 14 -258113 -66577 0; #X text 71 -79 FIRST OF ALL SETUP YOUR CAMERA; #X floatatom 185 509 5 0 0 0 - - -; @@ -33,10 +33,10 @@ only works in RGB colormodel; #X floatatom 257 509 5 0 0 0 - - -; #X floatatom 291 509 5 0 0 0 - - -; #X obj 185 482 unpack 0 0 0 0 0; -#X obj 185 446 route 0 1 2 3 4; -#X floatatom 244 347 5 0 0 0 - - -; -#X floatatom 268 365 5 0 0 0 - - -; -#X obj 91 387 pdp_opencv_contours_boundingrect; +#X obj 185 461 route 0 1 2 3 4; +#X floatatom 211 385 5 0 0 0 - - -; +#X floatatom 283 398 5 0 0 0 - - -; +#X obj 93 413 pdp_opencv_contours_boundingrect; #X text 335 509 Xorigin Yorigin Width Height; #X floatatom 205 565 5 0 0 0 - - -; #X floatatom 240 565 5 0 0 0 - - -; @@ -67,23 +67,31 @@ white areas in the input image \, it's important to set max/min values of the areas you want to detect to filter non interesting noise or areas \, also sometimes you will need to use pdp_opencv_morphology to transform the contours of the shapes to be analyzed..; -#X floatatom 278 409 5 0 0 0 - - -; -#X text 317 410 Number of detected contours; +#X floatatom 280 435 5 0 0 0 - - -; +#X text 319 436 Number of detected contours; #X floatatom 230 623 5 0 0 0 - - -; #X floatatom 265 623 5 0 0 0 - - -; #X floatatom 302 623 5 0 0 0 - - -; #X floatatom 336 623 5 0 0 0 - - -; #X obj 227 594 unpack 0 0 0 0 0; #X text 380 623 Xorigin Yorigin Width Height; -#X text 288 451 For each contour detected; -#X text 288 438 We have the contours sorted bottom to top and left +#X text 288 466 For each contour detected; +#X text 288 453 We have the contours sorted bottom to top and left to right; #X text 42 -273 It is useful as a motion tracker if you have well isolated silouets of the objects you want to track.; -#X text 280 349 minimal area in pixels to be detected (default 10x10) +#X text 249 383 minimal area in pixels to be detected (default 10x10) ; -#X text 302 367 maximal area in pixels to be detected (default 320x240) +#X text 320 399 maximal area in pixels to be detected (default 320x240) ; +#X msg 138 335 mode \$1; +#X obj 199 336 hradio 15 1 0 4 empty empty empty 0 -8 0 10 -262144 +-1 -1 0; +#X text 268 337 retrieval mode ( see cvFindContours ); +#X obj 242 364 hradio 15 1 0 5 empty empty empty 0 -8 0 10 -262144 +-1 -1 0; +#X text 318 364 retrieval method ( see cvFindContours ); +#X msg 175 363 method \$1; #X connect 1 0 18 0; #X connect 2 0 1 0; #X connect 3 0 4 0; @@ -126,3 +134,7 @@ silouets of the objects you want to track.; #X connect 56 1 53 0; #X connect 56 2 54 0; #X connect 56 3 55 0; +#X connect 63 0 30 0; +#X connect 64 0 63 0; +#X connect 66 0 68 0; +#X connect 68 0 30 0; |