diff --git a/runtime_data/config/in.conf b/runtime_data/config/in.conf new file mode 100644 index 0000000..1a691b0 --- /dev/null +++ b/runtime_data/config/in.conf @@ -0,0 +1,45 @@ +; 30-50, 40-60, 50-70, 60-80 +char_analysis_min_pct = 0.30 +char_analysis_height_range = 0.20 +char_analysis_height_step_size = 0.10 +char_analysis_height_num_steps = 4 + +segmentation_min_speckle_height_percent = 0.3 +segmentation_min_box_width_px = 4 +segmentation_min_charheight_percent = 0.5; +segmentation_max_segment_width_percent_vs_average = 1.35; + +plate_width_mm = 500 +plate_height_mm = 120 + +multiline = 0 + +char_height_mm = 65 +char_width_mm = 30 +char_whitespace_top_mm = 24 +char_whitespace_bot_mm = 24 + +template_max_width_px = 120 +template_max_height_px = 60 + +; Higher sensitivity means less lines +plateline_sensitivity_vertical = 25 +plateline_sensitivity_horizontal = 45 + +; Regions smaller than this will be disqualified +min_plate_size_width_px = 70 +min_plate_size_height_px = 35 + +; Results with fewer or more characters will be discarded +postprocess_min_characters = 4 +postprocess_max_characters = 10 + +ocr_language = lin + +; Override for postprocess letters/numbers regex. +postprocess_regex_letters = [A-Z] +postprocess_regex_numbers = [0-9] + +; Whether the plate is always dark letters on light background, light letters on dark background, or both +; value can be either always, never, or auto +invert = auto \ No newline at end of file diff --git a/runtime_data/ocr/tessdata/lin.traineddata b/runtime_data/ocr/tessdata/lin.traineddata new file mode 100644 index 0000000..bb11eae Binary files /dev/null and b/runtime_data/ocr/tessdata/lin.traineddata differ