Skip to content

Scan documents with your smartphone (╯°□°)╯︵( .o.)

License

Notifications You must be signed in to change notification settings

d-kicinski/software-scanner

Repository files navigation

🆂🅾🅵🆃🆆🅰🆁🅴 🆂🅲🅰🅽🅽🅴🆁

Toy-project to learn how to use native code in Android applications. This sample provides scanner-like functionality. Would you like to take a photo of a document, paper, or recipe? Point your camera at it, click the shutter button, and wait for the result. Green contour will tell you how the implemented algorithm sees your document in real-time.

In addition, there's no need to worry about holding your smartphone straight as application will performs perspective transformation to fix that for you. :^)

Install boundled apk

To install apk boundled in the latest release open this link in your browser on your smartphone. Download the apk and install it. This apk is signed locally so probably you'll be warned about possible danger.

Build apk by yourself

To build and install apk on your device simply run the following.

./gradlew build installDebug

Using Android Studio

When you hit Build in Android Stdio it ignores my task for downloading external dependencies. To build it you'll need to run the command ./gradlew build first to fetch scaner-jni and opencv libs. Then you can use Android Studio as you please :^)

If you're interested in how detection and transformation is performed inspect this repository