My requirement is to implement auto-crop in a scanned image so that unwanted parts in the image can be cropped off. The scanning material will be a rectangle shaped document. Is it possible to detect the rectangle shaped document from the scanned image and how?
Thanks in advance.
Try this following blog post, it might help:
http://opencv-code.com/tutorials/automatic-perspective-correction-for-quadrilateral-objects/
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.