aboutsummaryrefslogtreecommitdiff
path: root/pdp_opencv_lk-help.pd
blob: f36d50d32422ffc8211ee7b0ccc1d361a7a468d9 (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
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
#N canvas 558 56 833 785 10;
#X text -16 -86 written by Lluis Gomez i Bigorda ( lluisgomez@hangar.org
) and Yves Degoyon ( ydegoyon@gmail.com );
#X obj -17 -55 cnv 15 621 250 empty empty empty 20 12 0 14 -260097
-66577 0;
#X obj 223 -15 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 223 12 metro 40;
#X msg 313 39 close;
#X obj 243 110 pdp_v4l;
#X msg 300 7 open /dev/video0;
#X obj 412 -20 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
1;
#X obj 412 7 metro 40;
#X msg 493 26 close;
#X msg 489 2 open /dev/video0;
#X obj 433 106 pdp_v4l2;
#X msg 498 81 format \$1;
#X obj 499 59 hradio 15 1 0 4 empty empty empty 0 -8 0 10 -262144 -1
-1 0;
#X obj 13 160 pdp_qt;
#X obj 46 96 metro 40;
#X msg 46 68 bang;
#X msg 87 68 stop;
#X obj 13 -1 openpanel;
#X msg 13 24 open \$1;
#X msg 13 -29 bang;
#X msg 47 123 loop \$1;
#X obj 127 123 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
1;
#X obj 127 41 loadbang;
#X text 56 -26 playing a video file;
#X text 253 -17 Camera input;
#X obj 73 161 hsl 128 15 0 500 0 0 empty empty empty -2 -8 0 10 -262144
-1 -1 0 1;
#X obj -15 203 cnv 15 621 430 empty empty empty 20 12 0 14 -258113
-66577 0;
#X obj 14 642 pdp_xv;
#X floatatom 64 285 5 0 0 0 - - -;
#X obj 16 546 pdp_opencv_lk;
#X text 99 284 window size;
#X obj 163 306 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X msg 78 304 nightmode \$1;
#X text 182 307 set nightmode;
#X msg 57 264 quality \$1;
#X floatatom 132 265 5 0 0 0 - - -;
#X floatatom 140 240 5 0 0 0 - - -;
#X msg 43 239 mindistance \$1;
#X text 181 238 set distance ( default 10 );
#X msg 30 213 init;
#X obj 414 169 pdp_xv;
#X obj 314 169 pdp_opencv_edge;
#X floatatom 225 265 5 0 0 0 - - -;
#X obj 67 213 t b;
#X obj 170 263 / 1000;
#X msg 65 642 cursor 1;
#X obj 14 668 route press;
#X msg 101 367 mark \$1 \$2;
#X msg 106 391 delete \$1;
#X text 301 389 delete a marker;
#X msg 109 413 clear;
#X text 157 414 delete all markers;
#X msg 119 435 maxmove \$1;
#X floatatom 195 437 5 0 0 0 - - -;
#X text 357 264 set quality ( default 100 );
#X msg 265 263 100;
#X obj 298 263 loadbang;
#X obj 117 588 unpack f f;
#X floatatom 116 606 5 0 0 0 - - -;
#X floatatom 174 607 5 0 0 0 - - -;
#X text 118 618 X;
#X text 173 617 Y;
#X obj 117 568 route 1 2 3 4 5 6 7 8 9 10;
#X obj 285 169 / 2;
#X text 143 644 <-- mark the points you want to track in the video
window;
#X text 286 567 position of each marked point;
#X text 207 482 make a delaunay with all points;
#X msg 127 482 delaunay on;
#X msg 135 502 delaunay off;
#X text 231 517 make a delaunay with point 1 and a tolerance of 50
( all points which color is in that range will be included in the delaunay)
;
#X obj 171 391 hradio 15 1 0 8 empty empty empty 0 -8 0 10 -262144
-1 -1 0;
#X text -14 -111 pdp_opencv_lk : Lukas-Kanade corner points tracking
;
#X text -14 -99 Corner points detection based on Shi and Tomasi;
#X text 98 213 init corner points detections;
#X text 377 241 Detection parameters;
#X msg 87 324 mark all;
#X msg 97 345 mark none;
#X text 150 325 mark all points;
#X text 167 346 reset all markers;
#X msg 118 458 ftolerance \$1;
#X floatatom 210 458 5 0 0 0 - - -;
#X text 250 458 frame tolerance for point identification ( default
: 5 );
#X text 179 368 mark %x %y : mark a point to track ( max points : 500
);
#X msg 137 527 pdelaunay 0 50;
#X text 232 437 max movement of a marker ( default 20 pisels );
#X connect 2 0 3 0;
#X connect 3 0 5 0;
#X connect 4 0 5 0;
#X connect 5 0 30 0;
#X connect 5 0 42 0;
#X connect 6 0 5 0;
#X connect 7 0 8 0;
#X connect 8 0 11 0;
#X connect 9 0 11 0;
#X connect 10 0 11 0;
#X connect 11 0 30 0;
#X connect 11 0 42 0;
#X connect 12 0 11 0;
#X connect 13 0 12 0;
#X connect 14 0 30 0;
#X connect 14 0 42 0;
#X connect 15 0 14 0;
#X connect 16 0 15 0;
#X connect 17 0 15 0;
#X connect 18 0 19 0;
#X connect 19 0 14 0;
#X connect 20 0 18 0;
#X connect 21 0 14 0;
#X connect 22 0 21 0;
#X connect 23 0 22 0;
#X connect 23 0 16 0;
#X connect 26 0 14 1;
#X connect 28 0 47 0;
#X connect 29 0 30 1;
#X connect 30 0 28 0;
#X connect 30 0 46 0;
#X connect 30 1 63 0;
#X connect 32 0 33 0;
#X connect 33 0 30 0;
#X connect 35 0 30 0;
#X connect 36 0 35 0;
#X connect 37 0 38 0;
#X connect 38 0 30 0;
#X connect 40 0 30 0;
#X connect 42 0 41 0;
#X connect 43 0 45 0;
#X connect 43 0 44 0;
#X connect 43 0 64 0;
#X connect 44 0 40 0;
#X connect 45 0 36 0;
#X connect 46 0 28 0;
#X connect 47 0 48 0;
#X connect 48 0 30 0;
#X connect 49 0 30 0;
#X connect 51 0 30 0;
#X connect 53 0 30 0;
#X connect 54 0 53 0;
#X connect 56 0 43 0;
#X connect 57 0 56 0;
#X connect 58 0 59 0;
#X connect 58 1 60 0;
#X connect 63 0 58 0;
#X connect 64 0 42 1;
#X connect 68 0 30 0;
#X connect 69 0 30 0;
#X connect 71 0 49 0;
#X connect 76 0 30 0;
#X connect 77 0 30 0;
#X connect 80 0 30 0;
#X connect 81 0 80 0;
#X connect 84 0 30 0;