#N canvas 588 49 833 785 10; #X text -13 -95 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 0 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 -17 198 cnv 15 621 400 empty empty empty 20 12 0 14 -258113 -66577 0; #X obj 201 440 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 1; #X msg 116 438 nightmode \$1; #X text 220 441 set nightmode; #X floatatom 147 288 5 0 0 0 - - -; #X floatatom 153 564 5 0 0 0 - - -; #X floatatom 189 565 5 0 0 0 - - -; #X obj 153 524 route 1 2 3 4 5 6 7 8 9 10; #X obj 14 494 pdp_opencv_hough_lines; #X text 322 523 position of each line; #X obj 153 544 unpack f f f f; #X text 156 578 X1; #X text 192 578 Y1; #X floatatom 226 565 5 0 0 0 - - -; #X floatatom 262 566 5 0 0 0 - - -; #X text 229 579 X2; #X text 265 579 Y2; #X msg 43 260 mode \$1; #X text 42 240 Detection mode; #X obj 139 231 vradio 15 1 0 3 empty empty empty 0 -8 0 10 -262144 -1 -1 0; #X text 160 231 CV_HOUGH_STANDARD; #X text 160 245 CV_HOUGH_PROBABILISTIC; #X text 161 261 CV_HOUGN_MULTI_SCALE; #X msg 58 285 threshold \$1; #X msg 72 315 minlength \$1; #X floatatom 158 316 5 0 0 0 - - -; #X floatatom 138 342 5 0 0 0 - - -; #X msg 87 341 gap \$1; #X text 181 342 gap betwwen lines ( default 10 \, for mode CV_HOUGH_PROBABILISTIC ); #X text 195 313 minimum length ( default 30 \, for mode CV_HOUGH_PROBABILISTIC ); #X floatatom 192 380 5 0 0 0 - - -; #X floatatom 214 412 5 0 0 0 - - -; #X msg 91 378 aresolution \$1; #X msg 109 410 dresolutyion \$1; #X text 258 408 distance resolution ( default 1 \, for mode CV_HOUGH_MULTI_SCALE ); #X text 230 377 angle resolution ( default 1 \, for mode CV_HOUGH_MULTI_SCALE ); #X obj 13 621 pdp_xv; #X msg 34 213 maxlines \$1; #X floatatom 113 214 5 0 0 0 - - -; #X text 154 210 maximum nuber of lines detected ( default : 10 ); #X text -14 -110 pdp_opencv_hough_lines : Hough lines algorithm; #X text 186 284 threshold ( default 200 ); #X connect 2 0 3 0; #X connect 3 0 5 0; #X connect 4 0 5 0; #X connect 5 0 35 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 35 0; #X connect 12 0 11 0; #X connect 13 0 12 0; #X connect 14 0 35 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 29 0; #X connect 29 0 35 0; #X connect 31 0 50 0; #X connect 34 0 37 0; #X connect 35 0 63 0; #X connect 35 1 34 0; #X connect 37 0 32 0; #X connect 37 1 33 0; #X connect 37 2 40 0; #X connect 37 3 41 0; #X connect 44 0 35 0; #X connect 46 0 44 0; #X connect 50 0 35 0; #X connect 51 0 35 0; #X connect 52 0 51 0; #X connect 53 0 54 0; #X connect 54 0 35 0; #X connect 57 0 59 0; #X connect 58 0 60 0; #X connect 59 0 35 0; #X connect 60 0 35 0; #X connect 64 0 35 0; #X connect 65 0 64 0;