Remove Lines
This cleanup method removes horizontal and vertical lines to the content adjacent to them is easier to recognize. This method removes solid lines, dotted, or dashed lines. The following image explains the definitions of line length, run length, and line thickness:
For example, the following image shows an image before and after it is cleaned up by removing the boxes around the date: