SmartPaperScan

this is an android project write in kotlin which detect paper or rectangle by opencv, you can take a picture and crop it

Example

you can detect paper on desktop like this

detecting previewing picture

detecting picture take by camera

Addition

code is written in pure kotlin, hope this project will be helpful to you. previous version only work well on device of 1080 * 1920 resolution ratio, this bug fixed in this version.