Added parameter to control high-contrast detection sensitivity

This commit is contained in:
Matt Hill
2016-03-07 13:05:43 -05:00
parent 8972e6373d
commit 515ec50469
4 changed files with 9 additions and 1 deletions

View File

@@ -183,6 +183,8 @@ namespace alpr
maxDetectionInputWidth = getInt(ini, "", "max_detection_input_width", 1280);
maxDetectionInputHeight = getInt(ini, "", "max_detection_input_height", 768);
contrastDetectionThreshold = getFloat(ini, "", "contrast_detection_threshold", 0.3);
mustMatchPattern = getBoolean(ini, "", "must_match_pattern", false);
skipDetection = getBoolean(ini, "", "skip_detection", false);