mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-11-02 21:04:01 +08:00
51 lines
1.2 KiB
Plaintext
51 lines
1.2 KiB
Plaintext
; One-line European style plates
|
|
|
|
; 35-50; 45-60, 55-70, 65-80, 75-90
|
|
char_analysis_min_pct = 0.35
|
|
char_analysis_height_range = 0.15
|
|
char_analysis_height_step_size = 0.10
|
|
char_analysis_height_num_steps = 5
|
|
|
|
segmentation_min_speckle_height_percent = 0.2
|
|
segmentation_min_box_width_px = 5
|
|
segmentation_min_charheight_percent = 0.4;
|
|
segmentation_max_segment_width_percent_vs_average = 2.0;
|
|
|
|
plate_width_mm = 520
|
|
plate_height_mm = 110
|
|
|
|
multiline = 0
|
|
|
|
char_height_mm = 80
|
|
char_width_mm = 53
|
|
char_whitespace_top_mm = 10
|
|
char_whitespace_bot_mm = 10
|
|
|
|
template_max_width_px = 184
|
|
template_max_height_px = 46
|
|
|
|
; Higher sensitivity means less lines
|
|
plateline_sensitivity_vertical = 18
|
|
plateline_sensitivity_horizontal = 55
|
|
|
|
; Regions smaller than this will be disqualified
|
|
min_plate_size_width_px = 65
|
|
min_plate_size_height_px = 18
|
|
|
|
; Results with fewer or more characters will be discarded
|
|
postprocess_min_characters = 5
|
|
postprocess_max_characters = 8
|
|
|
|
detector_file = eu.xml
|
|
|
|
ocr_language = lgb
|
|
|
|
; 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
|