Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove segment line residue from thresholding text containing boxes
GUI screendumps have to be made as similar to regular OCR compatible documents containing purely text as possible. While thresholding a screendump for text detection is one step closer in this direction, GUI elements containing text can turn into boxes of vertical and horizontal lines within the binarized image after applying it which would then lower the text detection quality. To deal with this let's optionally perform some morphological operations to remove segment lines with thickness up to a maximal segment line length.
- Loading branch information