blob: 01c8b01d1f175dce0eb69fcff2e3c4558dd08470 (
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
|
#N canvas 25 96 1039 729 10;
#X obj 11 -57 cnv 15 750 250 empty empty empty 20 12 0 14 -260097 -66577
0;
#X obj 251 -17 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 251 10 metro 40;
#X msg 341 37 close;
#X obj 271 108 pdp_v4l;
#X msg 328 5 open /dev/video0;
#X obj 440 -22 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 440 5 metro 40;
#X msg 521 24 close;
#X msg 517 0 open /dev/video0;
#X obj 461 104 pdp_v4l2;
#X msg 526 79 format \$1;
#X obj 527 57 hradio 15 1 0 4 empty empty empty 0 -8 0 10 -262144 -1
-1 0;
#X obj 41 158 pdp_qt;
#X obj 74 94 metro 40;
#X msg 74 66 bang;
#X msg 115 66 stop;
#X obj 41 -3 openpanel;
#X msg 41 22 open \$1;
#X msg 41 -31 bang;
#X msg 75 121 loop \$1;
#X obj 155 121 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1
1;
#X obj 155 39 loadbang;
#X text 84 -28 playing a video file;
#X text 281 -19 Camera input;
#X obj 101 159 hsl 128 15 0 500 0 0 empty empty empty -2 -8 0 10 -262144
-1 -1 0 1;
#X obj 12 201 cnv 15 750 300 empty empty empty 20 12 0 14 -258113 -66577
0;
#X obj 55 527 pdp_xv;
#X floatatom 230 447 5 0 0 0 - - -;
#X msg 198 321 mode \$1;
#X floatatom 175 419 5 0 0 0 - - -;
#X text 175 402 Max value used in some modes;
#X msg 233 280 0;
#X msg 263 300 1;
#X text 249 321 thresholding mode ( default 0 );
#X text 14 -120 pdp_opencv_threshold : adaptive thresholding;
#X text 13 -109 use the average of pixels in the block of pixels to
filter only the pixels above or below that threshold \, depending on
the mode BINARY or BINARY:INVERTED;
#X obj 55 458 pdp_opencv_athreshold;
#X text 265 278 CV_THRESH_BINARY : pixel >= threshold;
#X text 293 300 CV_THRESH_BINARY_INV :pixel <= threshold;
#X text 228 433 blocksize ( 1 \, 3 \, 5 \, 7 \, ... );
#X text 263 447 ( default 3 );
#X msg 248 215 0;
#X msg 280 230 1;
#X msg 215 252 method \$1;
#X text 279 251 thresholding method ( default 0 );
#X text 280 213 CV_ADAPTIVE_THRESH_MEAN_C : mean value;
#X text 312 230 CV_ADAPTIVE_THRESH_GAUSSIAN_C : gaussian mask;
#X msg 185 364 dim \$1;
#X floatatom 236 367 5 0 0 0 - - -;
#X text 276 365 value to correct the theshold;
#X obj 70 191 pdp_xv;
#X text 13 -74 comments to ydegoyon@gmail.com;
#X connect 1 0 2 0;
#X connect 2 0 4 0;
#X connect 3 0 4 0;
#X connect 4 0 37 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 37 0;
#X connect 11 0 10 0;
#X connect 12 0 11 0;
#X connect 13 0 37 0;
#X connect 13 0 51 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 25 0 13 1;
#X connect 28 0 37 2;
#X connect 29 0 37 0;
#X connect 30 0 37 1;
#X connect 32 0 29 0;
#X connect 33 0 29 0;
#X connect 37 0 27 0;
#X connect 42 0 44 0;
#X connect 43 0 44 0;
#X connect 44 0 37 0;
#X connect 48 0 37 0;
#X connect 49 0 48 0;
|