OcrEngine class abstract interface

Runs OCR over a document image (e.g. an ID card, for eKYC document capture).

Don't construct an implementation directly — call resolveOcrEngine, which picks the right one for the current device:

OneID Flutter SDK
       │
    OcrEngine
       │
  ┌────┴────┐
  │         │
Google    Huawei      (Android only — split by which mobile-services
ML Kit    ML Kit       stack is installed: GMS vs HMS devices)

On iOS there's no GMS/HMS split; resolveOcrEngine always returns AppleVisionOcrEngine there.

Implementers

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
recognizeText(String imagePath) → Future<OcrResult>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited