App for document scanning.
Fabian Hollaus, Florian Kleber, Markus Diem
DocScan makes use of native (C++) OpenCV and OpenCV Java API. The Java part is automatically downloaded after syncing,
the native part is imported as a git submodule from https://github.com/hollaus/opencv_libs.git
which also automatically
downloads the resources.
The app makes use of two APIs that require keys which are not published in the repository and should never be provided to the public. Instead not working dummy keys are provided in the following files:
google-services.json
: contains the key for Firebase integration (needed for OCR)
You can get the API key if you send a mail to docscan@cvl.tuwien.ac.at. Before you replace the dummy keys, assure that you do not commit the keys with the following commands:
git update-index --assume-unchanged google-services.json
git update-index --assume-unchanged gradle.properties
In case you need a more detailed error message for build errors, try: .\gradlew clean build
- Optional for testing the C++ module
- C++ lib for page segmentation and focus measure
- use CMake to create a Visual Studio Project
- source code path: DocScan/app/src/main
- binaries path e.g.: DocScan/build2015-x64
- Specify OpenCV_DIR