VisionTaskBackend<R> class abstract interface

A serialized, asynchronous adapter to one task of Google's browser runtime, on a worker.

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

detect(VisionImage image, int rotationDegrees, int? timestampMilliseconds, {VisionRegionOfInterest? regionOfInterest}) → Future<R>
Completes with copied results; requests and disposal keep their submission order. Only the tasks that accept a region of interest receive regionOfInterest. A browser frame arrives as image.browserFrame, which the backend releases after inference.
dispose() → Future<void>
Finishes queued requests and releases the SDK task on its own thread.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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