How to align and crop scanned cheque leaf using openCV

Viewed 28

I am trying to build a tool which accepts scanned Cheque images. I need very high accuracy in aligning and cropping the Cheque to the appropriate area since I am planning to use the standard cheque dimensions to extract Cheque features further.

How to automatically deskew (straighten) a text image using OpenCV :

This tutorial works fine in fixing the rotation, but cropping is still a problem, and contour finding does not give promising results for cases where the Cheque background is white.

Automated bank cheque verification using image processing and deep learning methods :

This Article suggests using the date box present on each cheque as a reference to align and crop the cheque. Though this seems like a very robust idea, I don't understand how to achieve this programmatically.

Any leads on how to achieve this or better solutions?

0 Answers
Related