google_mlkit_document_scanner
0.7.2, released 10 days ago by flutter-ml.dev
Flutter plugin to use Google's ML Kit document scanner API to digitize physical documents.
What it does
Allows users to convert physical documents into digital formats using Google's ML Kit document scanner API. Provides a high-quality UI flow with automatic capture, edge detection, cropping, and filtering.
AI-written summary of version 0.7.1, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need to scan physical documents on Android with built-in edge detection and cropping.
- You want a consistent UI flow for document capture powered by Google Play services.
Skip it when
- You need robust iOS document scanning support, as the feature is currently only available for Android.
- You need to run document scanning on the web or other unsupported platforms.
Strengths
- High-quality and consistent user interface for digitizing physical documents.
- No camera permission is required from your app since it leverages Google Play services.
- Low APK binary size impact.
Weaknesses
- Feature is still in Beta and is only available for Android.
- Relies on Google Play services being available on the target device.
Setup
- Kind
- Plugin (native code)
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
Requires Android minSdkVersion 21, compileSdkVersion 36, and targetSdkVersion 36.
final documentScanner = DocumentScanner(options: DocumentScannerOptions());
DocumentScanningResult result = await documentScanner.scanDocument();Alternatives
Packages that do the same job and could replace google_mlkit_document_scanner.
- cunning_document_scanner
Alternative document scanner plugin.
92Compare
Works with
Packages commonly used together with google_mlkit_document_scanner: ones it builds on, ones built on it, and its own family.
- google_mlkit_commonsSame familyCommon classes and utility methods for Google's ML Kit plugins
- google_mlkit_text_recognitionSame familyFlutter plugin to use Google's ML Kit Text Recognition on Android and iOS.
- google_mlkit_barcode_scanningSame familyA Flutter plugin to use Google's ML Kit Barcode Scanning on Android and iOS.
- google_mlkit_face_detectionSame familyFlutter plugin to use Google's ML Kit Face Detection on iOS and Android.
- google_mlkit_translationSame familyFlutter plugin for Google's ML Kit On-Device Translation.
- google_mlkit_selfie_segmentationSame familyFlutter plugin to use Google's ML Kit Selfie Segmentation API.
- google_mlkit_language_idSame familyDetermine the language of a text string using Google's ML Kit.
- google_mlkit_pose_detectionSame familyFlutter plugin for Google ML Kit Pose Detection on Android and iOS.