#N canvas 42 49 734 841 10; #X obj 39 -180 cnv 15 621 223 empty empty empty 20 12 0 14 -260097 -66577 0; #X msg 146 -123 open /dev/dv1394/0; #X obj 69 -148 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1; #X obj 71 -123 metro 40; #X msg 189 -57 norm PAL; #X msg 159 -94 close; #X obj 279 -142 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1; #X obj 279 -115 metro 40; #X msg 369 -88 close; #X obj 299 -17 pdp_v4l; #X msg 356 -120 open /dev/video0; #X obj 480 -140 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1 1; #X obj 480 -113 metro 40; #X msg 572 0 close; #X msg 557 -118 open /dev/video0; #X obj 500 -15 pdp_v4l2; #X obj 39 54 cnv 15 621 200 empty empty empty 20 12 0 14 -258113 -66577 0; #X obj 90 283 pdp_xv; #X obj 89 -23 pdp_ieee1394; #X text 45 -326 pdp_opencv_bgstats : background and foreground extraction using a statitical method.; #X text 43 -212 Comments and support @ ydegoyon.gmail.com; #X text 69 -177 Caemra input; #X obj 89 196 pdp_opencv_bgstats; #X text 88 300 foreground; #X obj 194 282 pdp_xv; #X text 191 300 background; #X msg 168 74 delta \$1; #X obj 229 74 / 100; #X floatatom 270 76 5 0 0 0 - - -; #X floatatom 234 110 5 0 0 0 - - -; #X msg 173 109 erode \$1; #X floatatom 257 147 5 0 0 0 - - -; #X msg 187 145 minarea \$1; #X text 301 152 ( default : 10x10 ); #X msg 224 172 reset; #X text 43 -281 Objects disappear from the foreground after a certain amount of time after they disappeared ( delta ) and make noise filtering using erosion and dilation steps ( erode paramater ). It also eliminates from the foreground object that are less than minarea parameter.; #X text 311 68 amount of time after which an object is deleted from the foreground ( default : 0.1 seconds ); #X text 273 101 number of iterations of the erode-dilate filter; #X text 274 111 to eliminate small forms and noise; #X text 304 141 minimum size of foreground objects; #X text 268 173 resetting the background; #X text 274 122 ( default : 2 ); #X connect 1 0 18 0; #X connect 2 0 3 0; #X connect 3 0 18 0; #X connect 4 0 18 0; #X connect 5 0 18 0; #X connect 6 0 7 0; #X connect 7 0 9 0; #X connect 8 0 9 0; #X connect 9 0 22 0; #X connect 10 0 9 0; #X connect 11 0 12 0; #X connect 12 0 15 0; #X connect 13 0 15 0; #X connect 14 0 15 0; #X connect 15 0 22 0; #X connect 18 0 22 0; #X connect 22 0 17 0; #X connect 22 1 24 0; #X connect 26 0 22 0; #X connect 27 0 26 0; #X connect 28 0 27 0; #X connect 28 0 27 1; #X connect 29 0 30 0; #X connect 30 0 22 0; #X connect 31 0 32 0; #X connect 32 0 22 0; #X connect 34 0 22 0;