Added parameter for max plate rotation (was previously hardcoded at 10 degrees). Upped the default to 15

This commit is contained in:
Matt Hill
2014-04-08 15:11:11 -05:00
parent a226d2bad1
commit 84e1df8c7c
4 changed files with 9 additions and 2 deletions

View File

@@ -78,6 +78,8 @@ void Config::loadValues(string country)
maxPlateWidthPercent = getFloat("common", "max_plate_width_percent", 100);
maxPlateHeightPercent = getFloat("common", "max_plate_height_percent", 100);
maxPlateAngleDegrees = getInt("common", "max_plate_angle_degrees", 15);
minPlateSizeWidthPx = getInt(country, "min_plate_size_width_px", 100);
minPlateSizeHeightPx = getInt(country, "min_plate_size_height_px", 100);