<commit_before>max v2;
#N vpatcher 577 44 1209 700;
#P origin 0 -1046;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P hidden comment 19 157 79 196617 command output;
#P hidden newex 512 152 49 196617 jcom.out;
#P hidden inlet 511 30 13 0;
#P hidden comment 526 30 65 196617 VIDEO INPUT;
#P hidden newex 511 49 78 196617 jcom.in 1;
#P hidden newex 35 586 355 196617 jcom.parameter color @type msg_toggle @description "Color or greyscale";
#P objectname color[1];
#P hidden newex 35 566 57 196617 pvar color;
#P user radiogroup 171 22 18 16;
#X size 1;
#X offset 16;
#X inactive 0;
#X itemtype 1;
#X flagmode 0;
#X set 0;
#X done;
#P objectname color;
#P comment 144 24 33 196617 color;
#P hidden newex 431 95 47 196617 pcontrol;
#P hidden newex 431 74 78 196617 jcom.pass open;
#P hidden newex 33 524 386 196617 jcom.parameter edge_thresh @type msg_float @description "Edge threshold";
#P objectname edge_thresh[1];
#P hidden newex 33 504 89 196617 pvar edge_thresh;
#P flonum 164 40 35 9 0. 0 8225 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname edge_thresh;
#P user ubumenu 116 40 48 196617 0 1 1 0;
#X add None;
#X add Sobel;
#X add Prewitt;
#X add Robcross;
#X prefix_set 0 0 <none> 0;
#X pattrmode 1;
#P objectname algorithm;
#P comment 89 42 30 196617 edge;
#P flonum 52 40 35 9 0. 0 8225 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname slide;
#P user radiogroup 34 40 18 16;
#X size 1;
#X offset 16;
#X inactive 0;
#X itemtype 1;
#X flagmode 0;
#X set 0;
#X done;
#P objectname trails;
#P comment 4 42 35 196617 trails;
#P hidden newex 32 468 351 196617 jcom.parameter algorithm @type msg_menu @description "Edge detection";
#P objectname algorithm[1];
#P hidden newex 32 448 77 196617 pvar algorithm;
#P window linecount 2;
#P hidden newex 32 402 213 196617 jcom.parameter slide @type msg_float @description "Level of slide for thre trails";
#P objectname slide[1];
#P window linecount 1;
#P hidden newex 32 382 55 196617 pvar slide;
#P hidden newex 32 344 380 196617 jcom.parameter trails @type msg_toggle @description "Trails - ghostlike image";
#P objectname trails[1];
#P hidden newex 32 324 59 196617 pvar trails;
#P user radiogroup 116 22 18 16;
#X size 1;
#X offset 16;
#X inactive 0;
#X itemtype 1;
#X flagmode 0;
#X set 1;
#X done;
#P objectname noise;
#P hidden newex 32 283 340 196617 jcom.parameter noise @type msg_toggle @description "Noise reduction";
#P objectname noise[1];
#P hidden newex 32 263 57 196617 pvar noise;
#P comment 89 24 33 196617 noise;
#P hidden outlet 512 181 13 0;
#P flonum 53 22 35 9 0. 0 8225 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname threshold;
#P comment 4 24 52 196617 threshold;
#P hidden message 99 86 119 196617 documentation/generate;
#B color 3;
#P hidden newex 32 223 352 196617 jcom.parameter threshold @type msg_float @description "Threshold";
#P objectname threshold[1];
#P hidden newex 32 203 76 196617 pvar threshold;
#P hidden comment 526 181 75 196617 VIDEO OUTPUT;
#P hidden newex 431 120 90 196617 jalg.motion%.mxt;
#P hidden comment 15 84 79 196617 command input;
#P window linecount 2;
#P hidden newex 1 109 385 196617 jcom.hub jmod.motion% @size 1U-half @module_type video @algorithm_type jitter @description "Motion-related analysis";
#P objectname jcom.hub;
#P hidden outlet 1 157 13 0;
#P hidden inlet 1 84 13 0;
#P bpatcher 0 0 256 60 0 0 jcom.gui.mxt 0;
#P objectname jcom.gui;
#P hidden connect 1 0 3 0;
#P hidden fasten 9 0 3 0 104 105 6 105;
#P hidden connect 3 0 2 0;
#P hidden fasten 8 0 7 0 37 248 27 248 27 198 37 198;
#P hidden connect 7 0 8 0;
#P hidden fasten 15 0 14 0 37 308 27 308 27 258 37 258;
#P hidden connect 14 0 15 0;
#P hidden fasten 18 0 17 0 37 369 25 369 25 317 37 317;
#P hidden connect 17 0 18 0;
#P hidden fasten 20 0 19 0 37 436 27 436 27 377 37 377;
#P hidden connect 19 0 20 0;
#P hidden fasten 22 0 21 0 37 490 27 490 27 443 37 443;
#P hidden connect 21 0 22 0;
#P hidden fasten 30 0 29 0 38 549 28 549 28 499 38 499;
#P hidden connect 29 0 30 0;
#P hidden fasten 36 0 35 0 40 611 30 611 30 561 40 561;
#P hidden connect 35 0 36 0;
#P hidden fasten 37 1 31 0 550 70 436 70;
#P hidden connect 31 0 32 0;
#P hidden fasten 31 1 5 0 504 116 436 116;
#P hidden connect 32 0 5 0;
#P hidden connect 39 0 37 0;
#P hidden connect 37 0 5 1;
#P hidden fasten 5 0 40 0 436 144 517 144;
#P hidden connect 40 0 12 0;
#P pop;<commit_msg>The inspector got lost in this module during the merge, so I have reintroduced. Something is not working, so I will have to look into that soon<commit_after>max v2;
#N vpatcher 33 44 1110 752;
#P origin 0 -1046;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P hidden newex 475 140 47 196617 pcontrol;
#P hidden newex 475 116 37 196617 t open;
#P hidden newex 475 92 151 196617 jcom.oscroute /open_inspector;
#P hidden newex 625 604 386 196617 jcom.parameter centroid_color @type list @description "Change color of centroid.";
#P objectname centroid_color;
#P window linecount 2;
#P hidden newex 625 553 248 196617 jcom.parameter max_contraction_color @type list @description "Change color of max contraction box.";
#P objectname max_contraction_color;
#P hidden newex 625 513 250 196617 jcom.parameter contraction_color @type list @description "Change color of local contraction box.";
#P objectname contraction_color;
#P hidden newex 625 466 352 196617 jcom.parameter centroid_size_on @type toggle @description "Turn on automatic size adjustment of centre of mass - based on quantity of motion.";
#P objectname centroid_size_on;
#P hidden newex 625 422 235 196617 jcom.parameter centroid_on @type toggle @description "Turn display of centre of mass on.";
#P objectname centroid_on;
#P window linecount 1;
#P hidden newex 625 372 382 196617 jcom.message max_contraction_reset @description "Reset max_contraction box.";
#P objectname jmod.parameter.mxt[12];
#P window linecount 2;
#P hidden newex 625 334 242 196617 jcom.parameter max_contraction_on @type toggle @description "Turn max contraction box on or off.";
#P objectname max_contraction_on;
#P hidden newex 625 290 244 196617 jcom.parameter contraction_on @type toggle @description "Turn local contraction box on or off.";
#P objectname contraction_on;
#P hidden newex 625 240 387 196617 jcom.parameter contraction_slide @type msg_float @range 0. 10. @clipmode low @description @repetitions 0 @ramp 0 "The level of smoothing for contraction box.";
#P objectname contraction_slide;
#P hidden newex 39 645 350 196617 jcom.parameter data_smoothing @type msg_float @range 0. 12. @clipmode low @ramp 0 @description "Level of smoothing for the returened data";
#P objectname data_smoothing;
#P window linecount 1;
#P hidden newex 39 625 104 196617 pvar data_smoothing;
#N vpatcher 232 206 657 387;
#P window setfont "Sans Serif" 9.;
#P window linecount 0;
#P hidden newex 284 219 58 196617 r jmod.init;
#P window linecount 1;
#P hidden newex 487 255 40 196617 t front;
#P hidden newex 487 234 151 196617 jmod.oscroute /open_inspector;
#P toggle 26 141 15 0;
#P message 44 141 108 196617 /centroid_size_on \$1;
#P flonum 6 69 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P user swatch 237 111 128 32;
#P message 237 143 127 196617 /centroid_color \$1 \$2 \$3;
#P user swatch 237 60 128 32;
#P message 237 92 166 196617 /max_contraction_color \$1 \$2 \$3;
#P user swatch 237 9 128 32;
#P message 44 69 109 196617 /contraction_slide \$1;
#P message 44 105 122 196617 /max_contraction_reset;
#P message 237 41 141 196617 /contraction_color \$1 \$2 \$3;
#P toggle 27 123 15 0;
#P message 45 123 84 196617 /centroid_on \$1;
#P toggle 26 87 15 0;
#P message 44 87 123 196617 /max_contraction_on \$1;
#P toggle 26 51 15 0;
#P message 44 51 98 196617 /contraction_on \$1;
#P flonum 7 32 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 45 32 101 196617 /data_smoothing \$1;
#P hidden outlet 146 207 15 0;
#P window setfont "Sans Serif" 12.;
#P comment 4 4 252 196620 Various things that might be useful;
#P hidden inlet 487 214 15 0;
#P window setfont "Sans Serif" 9.;
#P window linecount 0;
#P hidden message 284 241 178 196617 patcher more jmod.motion% features;
#P window linecount 1;
#N thispatcher;
#Q end;
#P hidden newobj 284 260 61 196617 thispatcher;
#P user panel 0 1 409 165;
#X brgb 254 241 180;
#X frgb 0 0 0;
#X border 0;
#X rounded 0;
#X shadow 0;
#X done;
#P background;
#P hidden connect 9 0 8 0;
#P hidden connect 22 0 16 0;
#P hidden connect 11 0 10 0;
#P hidden connect 24 0 23 0;
#P hidden connect 7 0 6 0;
#P hidden connect 13 0 12 0;
#P hidden connect 16 0 5 0;
#P hidden connect 15 0 5 0;
#P hidden connect 20 0 5 0;
#P hidden connect 18 0 5 0;
#P hidden connect 14 0 5 0;
#P hidden connect 12 0 5 0;
#P hidden connect 10 0 5 0;
#P hidden connect 8 0 5 0;
#P hidden connect 6 0 5 0;
#P connect 17 0 14 0;
#P connect 19 0 18 0;
#P connect 21 0 20 0;
#P hidden connect 27 0 2 0;
#P hidden connect 2 0 1 0;
#P hidden connect 26 0 1 0;
#P hidden connect 3 0 25 0;
#P hidden connect 25 0 26 0;
#P pop;
#P hidden newobj 475 164 60 196617 p inspector;
#P hidden comment 19 157 79 196617 command output;
#P hidden newex 475 254 49 196617 jcom.out;
#P hidden inlet 441 47 13 0;
#P hidden comment 456 47 65 196617 VIDEO INPUT;
#P hidden newex 441 66 78 196617 jcom.in 1;
#P hidden newex 35 586 355 196617 jcom.parameter color @type msg_toggle @description "Color or greyscale";
#P objectname color[1];
#P hidden newex 35 566 57 196617 pvar color;
#P user radiogroup 171 22 18 16;
#X size 1;
#X offset 16;
#X inactive 0;
#X itemtype 1;
#X flagmode 0;
#X set 0;
#X done;
#P objectname color;
#P comment 144 24 33 196617 color;
#P hidden newex 616 150 47 196617 pcontrol;
#P hidden newex 616 128 78 196617 jcom.pass open;
#P hidden newex 33 524 386 196617 jcom.parameter edge_thresh @type msg_float @description "Edge threshold";
#P objectname edge_thresh[1];
#P hidden newex 33 504 89 196617 pvar edge_thresh;
#P flonum 164 40 35 9 0. 0 8225 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname edge_thresh;
#P user ubumenu 116 40 48 196617 0 1 1 0;
#X add None;
#X add Sobel;
#X add Prewitt;
#X add Robcross;
#X prefix_set 0 0 <none> 0;
#X pattrmode 1;
#P objectname algorithm;
#P comment 89 42 30 196617 edge;
#P flonum 52 40 35 9 0. 0 8225 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname slide;
#P user radiogroup 34 40 18 16;
#X size 1;
#X offset 16;
#X inactive 0;
#X itemtype 1;
#X flagmode 0;
#X set 0;
#X done;
#P objectname trails;
#P comment 4 42 35 196617 trails;
#P hidden newex 32 468 351 196617 jcom.parameter algorithm @type msg_menu @description "Edge detection";
#P objectname algorithm[1];
#P hidden newex 32 448 77 196617 pvar algorithm;
#P window linecount 2;
#P hidden newex 32 402 213 196617 jcom.parameter slide @type msg_float @description "Level of slide for thre trails";
#P objectname slide[1];
#P window linecount 1;
#P hidden newex 32 382 55 196617 pvar slide;
#P hidden newex 32 344 380 196617 jcom.parameter trails @type msg_toggle @description "Trails - ghostlike image";
#P objectname trails[1];
#P hidden newex 32 324 59 196617 pvar trails;
#P user radiogroup 116 22 18 16;
#X size 1;
#X offset 16;
#X inactive 0;
#X itemtype 1;
#X flagmode 0;
#X set 1;
#X done;
#P objectname noise;
#P hidden newex 32 283 340 196617 jcom.parameter noise @type msg_toggle @description "Noise reduction";
#P objectname noise[1];
#P hidden newex 32 263 57 196617 pvar noise;
#P comment 89 24 33 196617 noise;
#P hidden outlet 475 283 13 0;
#P flonum 53 22 35 9 0. 0 8225 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P objectname threshold;
#P comment 4 24 52 196617 threshold;
#P hidden message 99 86 119 196617 documentation/generate;
#B color 3;
#P hidden newex 32 223 352 196617 jcom.parameter threshold @type msg_float @description "Threshold";
#P objectname threshold[1];
#P hidden newex 32 203 76 196617 pvar threshold;
#P hidden comment 489 283 75 196617 VIDEO OUTPUT;
#P hidden newex 475 211 90 196617 jalg.motion%.mxt;
#P hidden comment 15 84 79 196617 command input;
#P window linecount 2;
#P hidden newex 1 109 358 196617 jcom.hub jmod.motion% @size 1U-half @module_type video @algorithm_type jitter @description "Motion-related analysis" @inspector 1;
#P objectname jcom.hub;
#P hidden outlet 1 157 13 0;
#P hidden inlet 1 84 13 0;
#P bpatcher 0 0 256 60 0 0 jcom.gui.mxt 0;
#P objectname jcom.gui;
#P hidden fasten 9 0 3 0 104 105 6 105;
#P hidden connect 1 0 3 0;
#P hidden connect 3 0 2 0;
#P hidden fasten 8 0 7 0 37 248 27 248 27 198 37 198;
#P hidden connect 7 0 8 0;
#P hidden fasten 15 0 14 0 37 308 27 308 27 258 37 258;
#P hidden connect 14 0 15 0;
#P hidden fasten 18 0 17 0 37 369 25 369 25 317 37 317;
#P hidden connect 17 0 18 0;
#P hidden fasten 20 0 19 0 37 436 27 436 27 377 37 377;
#P hidden connect 19 0 20 0;
#P hidden fasten 22 0 21 0 37 490 27 490 27 443 37 443;
#P hidden connect 21 0 22 0;
#P hidden fasten 30 0 29 0 38 549 28 549 28 499 38 499;
#P hidden connect 29 0 30 0;
#P hidden fasten 36 0 35 0 40 611 30 611 30 561 40 561;
#P hidden connect 35 0 36 0;
#P hidden fasten 44 0 43 0 44 679 34 679 34 620 44 620;
#P hidden connect 43 0 44 0;
#P hidden connect 39 0 37 0;
#P hidden connect 37 1 54 0;
#P hidden connect 54 0 55 0;
#P hidden connect 55 0 56 0;
#P hidden connect 56 0 42 0;
#P hidden connect 31 1 5 0;
#P hidden connect 32 0 5 0;
#P hidden connect 42 0 5 0;
#P hidden connect 5 0 40 0;
#P hidden connect 40 0 12 0;
#P hidden connect 37 0 5 1;
#P hidden connect 54 1 31 0;
#P hidden connect 31 0 32 0;
#P pop;
{'fraction_non_alphanumeric': 0.07377049180327869, 'fraction_numerical': 0.20424739195230998, 'mean_word_length': 4.019072550486163, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 10, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5098329', 'n_tokens_mistral': 7202, 'n_tokens_neox': 4586, 'n_words': 2556}