mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-06 15:56:57 +08:00
Removed code that unnecessarily eroded the character mask
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user