fl_mlkit_text_recognize
4.0.0, released 3 weeks ago by an unverified publisher
Google ML Kit text recognition (OCR) plugin for Flutter supporting Android and iOS.
What it does
Provides real-time camera text recognition and image byte OCR using Google ML Kit. Supports multiple languages including Latin, Chinese, Japanese, Korean, and Devanagari, and returns text blocks, lines, and elements with their bounding coordinates.
AI-written summary of version 4.0.0, based on the package's README and metadata. Report an inaccuracy
Use it when
- You need real-time OCR text recognition from a camera preview
- You need to scan text from image bytes on Android and iOS
- You want built-in support for multiple languages like Chinese, Japanese, and Korean
Skip it when
- You only need barcode or QR code scanning without full text recognition
- You are targeting iOS simulators with arm64 where static libraries are not supported
Strengths
- Real-time camera preview text recognition with overlay customization
- Supports both camera streams and static image byte recognition
- Multiple language support including Chinese, Japanese, and Korean
Weaknesses
- iOS static libraries do not support arm64 simulators (requires real device or Rosetta)
- Requires specific platform versions like iOS 15.5+ and Android minSdk 23
Setup
- Kind
- Plugin (native code)
- Effort
- Medium
- Code generation
- No
- Direct dependencies
- 2
Requires adding camera and photo library usage descriptions to Info.plist on iOS and meeting platform requirements such as iOS 15.5+ and Android minSdk 23.
FlMlKitTextRecognize(
recognizedLanguage: RecognizedLanguage.chinese,
resolution: CameraResolution.high,
frequency: 800,
autoRecognize: true,
overlay: const ScannerLine(),
onDataChanged: (AnalysisTextModel data) {
debugPrint(data.text);
},
)Alternatives
Packages that do the same job and could replace fl_mlkit_text_recognize.
- mobile_scanner
If you specifically need fast and versatile barcode or QR code scanning instead of general text OCR.
95Compare