简体   繁体   中英

how to detect rectangles in an image using javacv or any other java library?

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.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM