Added variable to control plate detection size increase.

Adjusting it to a smaller value means slower detection but higher probability that the plate will be found (and vice versa)
This commit is contained in:
Matt Hill
2014-03-24 10:10:55 -05:00
parent 3669ce0021
commit b90566585a
4 changed files with 11 additions and 4 deletions

View File

@@ -71,6 +71,9 @@ void Config::loadValues(string country)
{
opencl_enabled = getBoolean("common", "opencl_enabled", false);
detection_iteration_increase = getFloat("common", "detection_iteration_increase", 1.1);
maxPlateWidthPercent = getFloat("common", "max_plate_width_percent", 100);
maxPlateHeightPercent = getFloat("common", "max_plate_height_percent", 100);