From e7ab9d605f9f324384ca4ae7d712be3bbbb311ad Mon Sep 17 00:00:00 2001 From: Matt Hill Date: Fri, 5 Dec 2014 21:41:31 -0500 Subject: [PATCH] Fixed issue #65 --- src/openalpr/config.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/openalpr/config.cpp b/src/openalpr/config.cpp index e51ae10..3abca75 100644 --- a/src/openalpr/config.cpp +++ b/src/openalpr/config.cpp @@ -161,8 +161,8 @@ namespace alpr float stateIdImagePercent = getFloat("common", "state_id_img_size_percent", 100); - stateIdImageWidthPx = round(((float)templateWidthPx) * ocrImagePercent); - stateIdimageHeightPx = round(((float)templateHeightPx) * ocrImagePercent); + stateIdImageWidthPx = round(((float)templateWidthPx) * stateIdImagePercent); + stateIdimageHeightPx = round(((float)templateHeightPx) * stateIdImagePercent); charAnalysisMinPercent = getFloat(country, "char_analysis_min_pct", 0);