I have such similar documents which has whitespaces in the corners.I tried to implement this below code but it doesnt work on some of the forms which has some noise in the borders.
I tried this code but enter image description hereit didnt work on some document images enter image description here Trim scanned images with PIL?
Any help is appreciated