You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The pre-processing function of the tool.py file does some image segmentation to each region for Tesseract to identify the region's number. But when the input image has a grid, and fragments of this grid appears on a region, Tesseract generates an error.
This trouble forces the user to be carefoul when drawing the first rectangle and setting the offset --- it can be very upsetting.
It seems that the grid could be removed from each regions with some elementary image segmentation using OpenCV.
At the time, I can think of using a clear border function (like imclearborder in MatLab) or trying to detect the grid's lines and remove them.
The text was updated successfully, but these errors were encountered:
The pre-processing function of the tool.py file does some image segmentation to each region for Tesseract to identify the region's number. But when the input image has a grid, and fragments of this grid appears on a region, Tesseract generates an error.
This trouble forces the user to be carefoul when drawing the first rectangle and setting the offset --- it can be very upsetting.
It seems that the grid could be removed from each regions with some elementary image segmentation using OpenCV.
At the time, I can think of using a clear border function (like imclearborder in MatLab) or trying to detect the grid's lines and remove them.
The text was updated successfully, but these errors were encountered: