blob: c302d11dca1d4fb4d866b7b0676d8e2316b864d7 (
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
|
#N canvas 46 183 1154 642 10;
#X obj 396 -37 gemhead;
#X obj 365 380 pix_texture;
#X obj 365 408 square 2;
#X obj 9 -28 cnv 15 220 70 empty empty empty 20 12 0 14 -195568 -66577
0;
#N canvas 0 22 454 304 gemwin 0;
#X obj 67 89 outlet;
#X obj 67 10 inlet;
#X obj 67 41 route create;
#X msg 67 70 set destroy;
#X msg 182 68 set create;
#N canvas 87 154 247 179 Gem.init 0;
#X obj 118 46 loadbang;
#X msg 118 81 reset;
#X obj 118 113 outlet;
#X connect 0 0 1 0;
#X connect 1 0 2 0;
#X restore 289 80 pd Gem.init;
#X obj 160 260 gemwin;
#X msg 159 207 create \, 1;
#X msg 235 208 destroy;
#X msg 281 180 frame 5;
#X obj 162 170 t b b b;
#X connect 1 0 2 0;
#X connect 2 0 3 0;
#X connect 2 0 10 0;
#X connect 2 1 4 0;
#X connect 2 1 8 0;
#X connect 3 0 0 0;
#X connect 4 0 0 0;
#X connect 7 0 6 0;
#X connect 8 0 6 0;
#X connect 9 0 6 0;
#X connect 10 0 7 0;
#X connect 10 2 9 0;
#X restore 14 16 pd gemwin;
#X msg 14 -5 destroy;
#X text 15 -23 Create window and render;
#X obj 200 368 pix_texture;
#X obj 200 396 square 2;
#X obj 367 159 translateXYZ -2 0 0;
#X obj 367 193 separator;
#X obj 343 221 cnv 15 600 150 empty empty empty 20 12 0 14 -24198 -66577
0;
#X obj 511 -66 bng 25 250 50 0 empty empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 524 128 unpack 0 0 0;
#X floatatom 514 151 5 0 0 3 length - -;
#X floatatom 563 151 5 0 0 3 width - -;
#X floatatom 613 151 5 0 0 3 height - -;
#X obj 568 109 bng 15 250 50 0 empty empty end_reached 20 7 0 10 -262144
-1 -1;
#X floatatom 561 89 5 0 10000 1 frame# - -;
#X obj 511 -37 openpanel;
#X msg 511 -17 open \$1;
#X obj 499 92 pix_film;
#X msg 517 26 auto \$1;
#X obj 517 8 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 0 1
;
#X obj 364 259 translateXYZ 4 0 0;
#X obj 365 335 pix_opencv_dft;
#X text 8 -64 written by yves degoyon ( ydegoyon@gmail.com );
#X text 9 -80 this can be used for pattern matching;
#X text 9 -94 pix_opencv_dft : discrete fourier transform;
#X msg 426 282 bang;
#X obj 503 258 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X obj 502 232 loadbang;
#X obj 503 282 metro 100;
#X text 572 282 <-- Calculate Discrete Fourier Transform of the pattern
;
#X text 594 293 pdp_opencv_dft is too greedy to be calculayed for every
;
#X text 592 306 frame so it is just processed when it receives a bang
;
#X msg 579 28 colorspace RGBA;
#X obj 602 1 loadbang;
#X msg 685 28 colorspace RGB;
#X msg 784 29 colorspace Grey;
#X connect 0 0 21 0;
#X connect 1 0 2 0;
#X connect 4 0 5 0;
#X connect 5 0 4 0;
#X connect 7 0 8 0;
#X connect 9 0 7 0;
#X connect 9 0 10 0;
#X connect 10 0 24 0;
#X connect 12 0 19 0;
#X connect 13 0 14 0;
#X connect 13 1 15 0;
#X connect 13 2 16 0;
#X connect 17 0 18 0;
#X connect 18 0 21 1;
#X connect 19 0 20 0;
#X connect 20 0 21 0;
#X connect 21 0 9 0;
#X connect 21 1 13 0;
#X connect 21 2 17 0;
#X connect 22 0 21 0;
#X connect 23 0 22 0;
#X connect 24 0 25 0;
#X connect 25 0 1 0;
#X connect 29 0 25 0;
#X connect 30 0 32 0;
#X connect 31 0 30 0;
#X connect 32 0 25 0;
#X connect 36 0 21 0;
#X connect 37 0 36 0;
#X connect 38 0 21 0;
#X connect 39 0 21 0;
|