Is there any tool to make the boundaries to be well defined in an image. I am using Python-OpenCV. Does it have any methods for this functionality?
For eg.
Let my input image be like this.
You can see some disturbances on the boundaries. Some pixels are just projecting from boundary. Boundaries are not perfect straight lines.
Desired output is some thing like this.
You can do OCR, then print the result with desired font. No other way to transform your input image to perfect desired shape.