aboutsummaryrefslogtreecommitdiff
path: root/pix_opencv_motempl-help.pd
blob: 59e09c98bc0978348491d9d413701b94611773cc (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
#N canvas 0 0 1249 684 10;
#X obj 535 783 pix_texture;
#X obj 535 811 square 2;
#X obj 504 497 cnv 15 550 251 empty empty empty 20 12 0 14 -24198 -66577
0;
#X floatatom 669 841 5 0 0 0 - - -;
#X floatatom 704 841 5 0 0 0 - - -;
#X floatatom 741 841 5 0 0 0 - - -;
#X floatatom 775 841 5 0 0 0 - - -;
#X floatatom 698 890 5 0 0 0 - - -;
#X floatatom 733 890 5 0 0 0 - - -;
#X floatatom 770 890 5 0 0 0 - - -;
#X floatatom 804 890 5 0 0 0 - - -;
#X floatatom 742 946 5 0 0 0 - - -;
#X floatatom 777 946 5 0 0 0 - - -;
#X floatatom 814 946 5 0 0 0 - - -;
#X floatatom 848 946 5 0 0 0 - - -;
#X obj 666 812 unpack 0 0 0 0 0;
#X obj 695 861 unpack 0 0 0 0 0;
#X obj 739 917 unpack 0 0 0 0 0;
#X floatatom 812 840 5 0 0 0 - - -;
#X floatatom 842 890 5 0 0 0 - - -;
#X floatatom 886 946 5 0 0 0 - - -;
#X text 726 779 For each motion component component;
#X text 788 812 (-1) means the whole image;
#X text 863 838 Xcenter Ycenter Width Height Angle;
#X text 884 889 Xcenter Ycenter Width Height Angle;
#X text 931 945 Xcenter Ycenter Width Height Angle;
#X floatatom 649 621 5 0 0 0 - - -;
#X floatatom 682 595 5 0 0 0 - - -;
#X text 689 623 Threshold value. (default 30);
#X msg 577 594 mhi_duration \$1;
#X floatatom 670 524 5 0 0 0 - - -;
#X msg 555 523 max_time_delta \$1;
#X floatatom 679 548 5 0 0 0 - - -;
#X msg 562 545 min_time_delta \$1;
#X floatatom 703 572 5 0 0 0 - - -;
#X msg 572 569 frame_buffer_num \$1;
#X floatatom 676 639 5 0 0 0 - - -;
#X floatatom 687 658 5 0 0 0 - - -;
#X text 727 660 Max size of the motion component (default 500);
#X text 717 639 Min size of the motion component (default 50);
#X text 740 570 Number of frames in the buffer. (default 4);
#X text 709 522 Max time delta in seconds. (default 0.5);
#X text 720 547 Min time delta in seconds. (default 0.05);
#X obj 533 694 pix_opencv_motempl;
#X msg 536 502 aperture \$1;
#X text 712 503 aperture ( 3 \, 5 or 7 \, default 3 );
#X msg 616 502 3;
#X msg 649 502 5;
#X msg 680 502 7;
#X text 719 596 Maximal duration of motion track in seconds;
#X text 57 177 written by Lluis Gomez i Bigorda ( lluisgomez@hangar.org
);
#X text 59 153 pix_opencv_motempl : opencv motion detection based on
movement history;
#X obj 666 761 route -1 1 2 3 4;
#X obj 61 49 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 25;
#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 66 93 pd gemwin;
#X msg 66 72 create;
#X text 67 54 Create window and render;
#X obj 650 69 gemhead;
#X obj 379 718 pix_texture;
#X obj 379 746 square 2;
#X obj 531 396 separator;
#X obj 662 96 bng 25 250 50 0 load empty empty 0 -6 0 8 -262144 -1
-1;
#X obj 719 271 bng 15 250 50 0 empty empty end_reached 20 7 0 10 -262144
-1 -1;
#X floatatom 701 236 5 0 10000 1 frame# - -;
#X obj 662 125 openpanel;
#X msg 662 145 open \$1;
#X obj 650 254 pix_film;
#X msg 668 188 auto \$1;
#X obj 668 170 tgl 15 0 empty empty empty 0 -6 0 8 -262144 -1 -1 1
1;
#X msg 763 171 colorspace RGBA;
#X msg 868 171 colorspace RGB;
#X msg 972 171 colorspace Grey;
#X obj 763 143 loadbang;
#X obj 530 367 pix_separator;
#X obj 379 399 separator;
#X obj 379 370 pix_separator;
#X obj 379 434 translateXYZ -2 0 0;
#X obj 531 431 translateXYZ 2 0 0;
#N canvas 0 0 450 300 vswitch 0;
#X obj 144 263 outlet;
#X obj 36 26 inlet;
#X obj 260 29 inlet;
#X obj 36 133 spigot;
#X obj 260 141 spigot;
#X obj 119 64 loadbang;
#X msg 83 93 0;
#X msg 113 93 1;
#X msg 296 104 0;
#X msg 326 104 1;
#X obj 399 34 inlet;
#X obj 399 67 s