Added a must_match_pattern config option. When a text pattern is available, all non-matching values will be disregarded.

This commit is contained in:
Matt Hill
2015-09-24 22:12:31 -04:00
parent c4d35e4e8d
commit 61f37ba596
4 changed files with 19 additions and 3 deletions

View File

@@ -176,6 +176,8 @@ namespace alpr
maxDetectionInputWidth = getInt(ini, "", "max_detection_input_width", 1280);
maxDetectionInputHeight = getInt(ini, "", "max_detection_input_height", 768);
mustMatchPattern = getBoolean(ini, "", "must_match_pattern", false);
skipDetection = getBoolean(ini, "", "skip_detection", false);
prewarp = getString(ini, "", "prewarp", "");