Mobile application for scanning and storing the documents.
Supported formats:
- images (jpg, jpeg, png)
- pdf (max size - 5 pages)
- 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
- 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
- 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/images/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 --releaseThe apk file will be saved to build/app/outputs/flutter-apk folder