nanyomy / a4-paper-sheet-detection-and-cropping Goto Github PK
View Code? Open in Web Editor NEWThis project forked from hypjudy/a4-paper-sheet-detection-and-cropping
Function similar to Document Scanner. Given images of A4 paper sheets, output paper sheets' four corners as well as four edges and their equations. Then crop the background and leave the paper sheet in proper position and standard scaling. We can do this in three steps. Firstly, detect edges with hough transform. Then store the corners in order. Lastly, applying a perspective transform to warp the image.
Home Page: https://hypjudy.github.io/2017/03/28/cvpr-A4-paper-sheet-detection-and-cropping/