Skip to content

Commit 7c0c50a

Browse files
committed
Added france country training
1 parent c41b184 commit 7c0c50a

File tree

2 files changed

+50
-0
lines changed

2 files changed

+50
-0
lines changed

runtime_data/config/fr.conf

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
; One-line European style plates
2+
3+
; 35-50; 45-60, 55-70, 65-80, 75-90
4+
char_analysis_min_pct = 0.35
5+
char_analysis_height_range = 0.15
6+
char_analysis_height_step_size = 0.10
7+
char_analysis_height_num_steps = 5
8+
9+
segmentation_min_speckle_height_percent = 0.2
10+
segmentation_min_box_width_px = 5
11+
segmentation_min_charheight_percent = 0.4;
12+
segmentation_max_segment_width_percent_vs_average = 2.0;
13+
14+
plate_width_mm = 520
15+
plate_height_mm = 110
16+
17+
multiline = 0
18+
19+
char_height_mm = 80
20+
char_width_mm = 53
21+
char_whitespace_top_mm = 10
22+
char_whitespace_bot_mm = 10
23+
24+
template_max_width_px = 184
25+
template_max_height_px = 46
26+
27+
; Higher sensitivity means less lines
28+
plateline_sensitivity_vertical = 18
29+
plateline_sensitivity_horizontal = 55
30+
31+
; Regions smaller than this will be disqualified
32+
min_plate_size_width_px = 65
33+
min_plate_size_height_px = 18
34+
35+
; Results with fewer or more characters will be discarded
36+
postprocess_min_characters = 5
37+
postprocess_max_characters = 8
38+
39+
detector_file = eu.xml
40+
41+
ocr_language = lfr
42+
43+
; Override for postprocess letters/numbers regex.
44+
postprocess_regex_letters = [A-Z]
45+
postprocess_regex_numbers = [0-9]
46+
47+
48+
; Whether the plate is always dark letters on light background, light letters on dark background, or both
49+
; value can be either always, never, or auto
50+
invert = auto
310 KB
Binary file not shown.

0 commit comments

Comments
 (0)