mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-06 14:56:53 +08:00
Moved min/max characters from global to country config
This commit is contained in:
@@ -190,8 +190,6 @@ namespace alpr
|
||||
|
||||
postProcessMinConfidence = getFloat(ini, "", "postprocess_min_confidence", 100);
|
||||
postProcessConfidenceSkipLevel = getFloat(ini, "", "postprocess_confidence_skip_level", 100);
|
||||
postProcessMinCharacters = getInt(ini, "", "postprocess_min_characters", 100);
|
||||
postProcessMaxCharacters = getInt(ini, "", "postprocess_max_characters", 100);
|
||||
|
||||
debugGeneral = getBoolean(ini, "", "debug_general", false);
|
||||
debugTiming = getBoolean(ini, "", "debug_timing", false);
|
||||
@@ -286,7 +284,9 @@ namespace alpr
|
||||
ocrImageHeightPx = round(((float)templateHeightPx) * ocrImagePercent);
|
||||
stateIdImageWidthPx = round(((float)templateWidthPx) * stateIdImagePercent);
|
||||
stateIdimageHeightPx = round(((float)templateHeightPx) * stateIdImagePercent);
|
||||
|
||||
|
||||
postProcessMinCharacters = getInt(ini, "", "postprocess_min_characters", 4);
|
||||
postProcessMaxCharacters = getInt(ini, "", "postprocess_max_characters", 8);
|
||||
}
|
||||
|
||||
void Config::setDebug(bool value)
|
||||
|
Reference in New Issue
Block a user