What is the best approach to automatically crop the given image ?

asked 2018-12-31 05:02:52 -0500

dsingh gravatar image

updated 2018-12-31 08:55:19 -0500

I have a paper form that users fill and sign and upload to us. I need to detect the form in the pic and crop it. I tried putting finder pattern of QR code at the corners and modify the QR detection algorithm in order to find the form. This approach works for about 50% of the case. Is there a better approach to solve this problem ? The image is shown below after applying adaptive threshold to it.

image description

edit retag flag offensive close merge delete