From 1a0b51d72fc06df1d9e3fce85cde98d2f001cbc5 Mon Sep 17 00:00:00 2001 From: Matt Hill Date: Tue, 25 Mar 2014 21:40:50 -0500 Subject: [PATCH] Removed code that unnecessarily eroded the character mask --- src/openalpr/characteranalysis.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/openalpr/characteranalysis.cpp b/src/openalpr/characteranalysis.cpp index fc61860..5cc040e 100644 --- a/src/openalpr/characteranalysis.cpp +++ b/src/openalpr/characteranalysis.cpp @@ -392,15 +392,6 @@ Mat CharacterAnalysis::getCharacterMask() 1 ); - // get rid of the outline by drawing a 1 pixel width black line - drawContours(charMask, bestContours, - i, // draw this contour - cv::Scalar(0,0,0), // in - 1, - 8, - bestHierarchy, - 1 - ); } return charMask;