From adb35d2dcf0778114266b60e2400a18c19c48c1e Mon Sep 17 00:00:00 2001 From: Matt Hill Date: Sun, 8 Mar 2015 09:51:44 -0400 Subject: [PATCH] Added comment to findOuterBoxMask --- src/openalpr/textdetection/platemask.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/openalpr/textdetection/platemask.cpp b/src/openalpr/textdetection/platemask.cpp index d7b04ef..459a50c 100644 --- a/src/openalpr/textdetection/platemask.cpp +++ b/src/openalpr/textdetection/platemask.cpp @@ -39,6 +39,8 @@ namespace alpr return this->plateMask; } + // Tries to find a rectangular area surrounding most of the characters. Not required + // but helpful when determining the plate edges void PlateMask::findOuterBoxMask( vector contours ) { double min_parent_area = pipeline_data->config->templateHeightPx * pipeline_data->config->templateWidthPx * 0.10; // Needs to be at least 10% of the plate area to be considered.