Tight crop is important to get good results.
Try to keep the entire document in the input image.
Unwarped image will have the same aspect ratio as input image, which may not be correct in all the cases.
If this project is useful to you, please consider citing our paper:
DewarpNet: Single-Image Document Unwarping With Stacked 3D and 2D Regression Networks (ICCV '19')
Having issues with the demo or want to share fail cases? Open a tracker here!
If you have any questions about the project, please feel free to contact-
Sagnik Das [email]
Ke Ma [email] © CVLab@StonyBrook