mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-05 22:06:52 +08:00
Added country config arguments for postprocess_regex_letters and postprocess_regex_numbers
This commit is contained in:
@@ -243,7 +243,10 @@ namespace alpr
|
||||
plateLinesSensitivityHorizontal = getFloat(ini, "", "plateline_sensitivity_horizontal", 0);
|
||||
|
||||
ocrLanguage = getString(ini, "", "ocr_language", "none");
|
||||
|
||||
|
||||
postProcessRegexLetters = getString(ini, "", "postprocess_regex_letters", "\\pL");
|
||||
postProcessRegexNumbers = getString(ini, "", "postprocess_regex_numbers", "\\pN");
|
||||
|
||||
ocrImageWidthPx = round(((float) templateWidthPx) * ocrImagePercent);
|
||||
ocrImageHeightPx = round(((float)templateHeightPx) * ocrImagePercent);
|
||||
stateIdImageWidthPx = round(((float)templateWidthPx) * stateIdImagePercent);
|
||||
|
Reference in New Issue
Block a user