Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/d-kicinski/software-scanner
Scan documents with your smartphone (╯°□°)╯︵( .o.)
https://github.com/d-kicinski/software-scanner
android cpp1z ndk opencv toyproject
Last synced: about 1 month ago
JSON representation
Scan documents with your smartphone (╯°□°)╯︵( .o.)
- Host: GitHub
- URL: https://github.com/d-kicinski/software-scanner
- Owner: d-kicinski
- License: mit
- Created: 2018-05-22T08:31:08.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-11-24T22:10:41.000Z (almost 4 years ago)
- Last Synced: 2024-09-30T00:41:32.161Z (about 2 months ago)
- Topics: android, cpp1z, ndk, opencv, toyproject
- Language: Java
- Homepage:
- Size: 16.7 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
🆂🅾🅵🆃🆆🅰🆁🅴 🆂🅲🅰🅽🅽🅴🆁
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](https://github.com/d-kicinski/software-scanner/releases/download/v0.2.0/scanner-app-arm64-v8a-release.apk) 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.
```bash
./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](https://github.com/dawidkski/software-scanner-native)