FirebaseVision class
The Firebase machine learning vision API.
You can get an instance by calling FirebaseVision.instance and then get a detector from the instance:
TextRecognizer textRecognizer = FirebaseVision.instance.textRecognizer();
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
-
barcodeDetector(
[BarcodeDetectorOptions? options]) → BarcodeDetector - Creates an instance of BarcodeDetector.
-
cloudDocumentTextRecognizer(
[CloudDocumentRecognizerOptions? cloudOptions]) → DocumentTextRecognizer - Creates a cloud instance of DocumentTextRecognizer.
-
cloudImageLabeler(
[CloudImageLabelerOptions? options]) → ImageLabeler - Creates a cloud instance of ImageLabeler.
-
cloudTextRecognizer(
[CloudTextRecognizerOptions? cloudOptions]) → TextRecognizer - Creates a cloud instance of TextRecognizer.
-
faceDetector(
[FaceDetectorOptions? options]) → FaceDetector - Creates an instance of FaceDetector.
-
imageLabeler(
[ImageLabelerOptions? options]) → ImageLabeler - Creates an on device instance of ImageLabeler.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
textRecognizer(
) → TextRecognizer - Creates an instance of TextRecognizer.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance → FirebaseVision
-
Singleton of FirebaseVision.
final
- nextHandle ↔ int
-
getter/setter pair
Constants
- channel → const MethodChannel