Removed code that unnecessarily eroded the character mask

This commit is contained in:
Matt Hill
2014-03-25 21:40:50 -05:00
parent 9ebc67af3e
commit 1a0b51d72f

View File

@@ -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;