ocr/ocr_engine library
Classes
- AppleVisionOcrEngine
- Apple Vision-backed OcrEngine, used on iOS (no GMS/HMS equivalent there, and no third-party SDK to vendor for it).
- GoogleOcrEngine
- Google ML Kit-backed OcrEngine, for GMS (Google Play Services) devices.
- HuaweiOcrEngine
- Huawei ML Kit-backed OcrEngine, for HMS (Huawei Mobile Services) devices.
- OcrEngine
- Runs OCR over a document image (e.g. an ID card, for eKYC document capture).
Functions
-
resolveOcrEngine(
{OcrHostApi? hostApi}) → Future< OcrEngine> - Picks the OcrEngine appropriate for the current device: on iOS, always AppleVisionOcrEngine; on Android, GoogleOcrEngine or HuaweiOcrEngine depending on which mobile-services stack is installed.