aboutsummaryrefslogtreecommitdiff
path: root/pdp_opencv_haarcascade-help.pd
blob: 020aec004348d8314966f3ad3592191d0d12943e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
#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
;
#X obj 82 79 metro 40;
#X msg 172 106 close;
#X obj 102 177 pdp_v4l;
#X msg 159 74 open /dev/video0;
#X obj 283 54 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 283 81 metro 40;
#X msg 364 100 close;
#X msg 360 76 open /dev/video0;
#X obj 303 179 pdp_v4l2;
#X msg 369 155 format \$1;
#X obj 370 133 hradio 15 1 0 4 empty empty empty 0 -8 0 10 -262144
-1 -1 0;
#X obj -128 227 pdp_qt;
#X obj -95 163 metro 40;
#X msg -95 135 bang;
#X msg -54 135 stop;
#X obj -128 66 openpanel;
#X msg -128 91 open \$1;
#X msg -128 38 bang;
#X msg -94 190 loop \$1;
#X obj -14 190 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
1;
#X obj -14 108 loadbang;
#X text -85 41 playing a video file;
#X text 112 50 Camera input;
#X obj -158 272 cnv 15 621 350 empty empty empty 20 12 0 14 -258113
-66577 0;
#X obj -130 661 pdp_xv;
#X floatatom 25 583 5 0 0 0 - - -;
#X floatatom 74 584 5 0 0 0 - - -;
#X floatatom 121 582 5 0 0 0 - - -;
#X obj 21 537 route 0 1 2 3 4;
#X obj -129 490 pdp_opencv_haarcascade;
#X text 123 541 For each object detected;
#X obj 24 561 unpack 0 0 0;
#X floatatom 174 584 5 0 0 0 - - -;
#X floatatom 213 584 5 0 0 0 - - -;
#X floatatom 251 585 5 0 0 0 - - -;
#X obj 172 563 unpack 0 0 0;
#X text -158 -62 pdp_opencv_haarscasccade : object recognition based
on Haar's algorithm ( decision tree algorithm );
#X text -159 -37 used for face detection by default;
#X floatatom -56 515 5 0 0 0 - - -;
#X text -17 515 number of objects detected;
#X msg -27 309 load \$1;
#X obj 37 309 openpanel;
#X obj 105 308 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X text -162 -25 ( load haarscascase_frontalface_alt.xml );
#X text 128 319 ( default haarscascase_frontalface_alt.xml );
#X text 471 294 don't forget this step;
#X text 472 280 <-- WARNING : if you don't see any object detected
;
#X text 130 307 load an haar's decision tree;
#X msg -8 338 mode \$1;
#X obj 50 338 hradio 15 1 0 2 empty empty empty 0 -8 0 10 -262144 -1
-1 0;
#X msg 1 365 min_size \$1;
#X floatatom 81 367 5 0 0 0 - - -;
#X floatatom 317 584 5 0 0 0 - - -;
#X floatatom 356 584 5 0 0 0 - - -;
#X floatatom 394 585 5 0 0 0 - - -;
#X obj 315 563 unpack 0 0 0;
#X text 91 338 mode 0 or 1 ( default 0 );
#X text 121 365 minimum size of object ( default 30 );
#X floatatom 119 390 5 0 0 0 - - -;
#X text 157 389 minimum neighbours of object ( default 2 );
#X msg 13 389 min_neighbors \$1;
#X floatatom 127 416 5 0 0 0 - - -;
#X text 165 415 scale used for recognition ( default 1.1 );
#X text 315 599 Xcenter Ycenter Radius;
#X text 171 599 Xcenter Ycenter Radius;
#X text 25 599 Xcenter Ycenter Radius;
#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
);
#X obj -129 687 route press;
#X msg -79 661 cursor 1;
#X msg 40 439 ftolerance \$1;
#X floatatom 130 440 5 0 0 0 - - -;
#X msg -58 209 162;
#X msg 45 463 clear;
#X text 90 464 clear history;
#X text 171 447 temporarily ( default 5 );
#X text 171 435 number of frames where an object can disappear;
#X connect 1 0 2 0;
#X connect 2 0 4 0;
#X connect 3 0 4 0;
#X connect 4 0 31 0;
#X connect 5 0 4 0;
#X connect 6 0 7 0;
#X connect 7 0 10 0;
#X connect 8 0 10 0;
#X connect 9 0 10 0;
#X connect 10 0 31 0;
#X connect 11 0 10 0;
#X connect 12 0 11 0;
#X connect 13 0 31 0;
#X connect 14 0 13 0;
#X connect 15 0 14 0;
#X connect 16 0 14 0;
#X connect 17 0 18 0;
#X connect 18 0 13 0;
#X connect 19 0 17 0;
#X connect 20 0 13 0;
#X connect 21 0 20 0;
#X connect 22 0 21 0;
#X connect 22 0 15 0;
#X connect 26 0 71 0;
#X connect 30 0 33 0;
#X connect 30 1 37 0;
#X connect 30 2 57 0;
#X connect 31 0 26 0;
#X connect 31 0 72 0;
#X connect 31 1 40 0;
#X connect 31 2 30 0;
#X connect 33 0 27 0;
#X connect 33 1 28 0;
#X connect 33 2 29 0;
#X connect 37 0 34 0;
#X connect 37 1 35 0;
#X connect 37 2 36 0;
#X connect 42 0 31 0;
#X connect 43 0 42 0;
#X connect 44 0 43 0;
#X connect 50 0 31 0;
#X connect 51 0 50 0;
#X connect 52 0 31 0;
#X connect 53 0 52 0;
#X connect 57 0 54 0;
#X connect 57 1 55 0;
#X connect 57 2 56 0;
#X connect 60 0 62 0;
#X connect 62 0 31 0;
#X connect 63 0 68 0;
#X connect 68 0 31 0;
#X connect 69 0 13 1;
#X connect 72 0 26 0;
#X connect 73 0 31 0;
#X connect 74 0 73 0;
#X connect 75 0 69 0;
#X connect 76 0 31 0;