mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-11-03 05:23:18 +08:00
45 lines
1.2 KiB
Plaintext
45 lines
1.2 KiB
Plaintext
; 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 = 304.8
|
|
plate_height_mm = 152.4
|
|
|
|
multiline = 0
|
|
|
|
char_height_mm = 70
|
|
char_width_mm = 35
|
|
char_whitespace_top_mm = 38
|
|
char_whitespace_bot_mm = 38
|
|
|
|
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 = 8
|
|
|
|
ocr_language = lus
|
|
|
|
; 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 |