Mobile application for scanning and storing the documents.
Supported formats:
- images (jpg, jpeg, png)
- Scan a document or uploap it from the device
- View a list of the scanned documents
- Recognize a text from the image (only latin letters and numbers):
- Copy the text by tapping the highlighted sections
- Share the image file
- Chat with AI about the document content
- Minimal support for PDF: upload/delete/view
- Flutter for UI
- State Management: Bloc
- Database: Drift (local storage)
- Localization: easy_localization (translations in assets/translations)
- Text recognision: google_mlkit_text_recognition
- LLM: Groq/OpenAI
- Clone the repo
git clone https://github.com/VikTs/smart_document_scanner
cd smart_document_scanner- Install dependencies
flutter pub get
dart run build_runner build- Connect device and run the application
flutter runThe application was tested with the images from assets/test folder. They can be uploaded to the device's gallery and used for testing.
Tests are stored inside /test folder. To run them, launch the command:
flutter testflutter build apk --release- Go to android/app/build.gradle.kts:
- Uncomment signingConfigs
- Replace
signingConfigs.getByName("debug")withsigningConfigs.getByName("release")
- Check if files exist:
- android/key.properties
- android/upload-keystore.jks
- Run the command:
flutter build appbundle --releasehttps://play.google.com/store/apps/details?id=com.viktsukan.docscanner
https://sites.google.com/view/docscanner-privacy-policy-info