ImageEmbedderOptions class final

The options for configuring a MediaPipe image embedder task.

Inheritance
Implemented types
Available extensions

Constructors

ImageEmbedderOptions()

Properties

address → Pointer<T>

Available on T, provided by the StructAddress extension

The memory address of the underlying data.
no setter
base_options ↔ MpBaseOptions
Base options for configuring MediaPipe Tasks, such as specifying the model file with metadata, accelerator options, op resolver, etc.
getter/setter pair
embedder_options ↔ MpEmbedderOptions
Options for configuring the embedder behavior, such as l2_normalize and quantize.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
result_callback ↔ Pointer<NativeFunction<Void Function(UnsignedInt status, Pointer<ImageEmbedderResult> result, MpImagePtr image, Int64 timestamp_ms)>>
The user-defined result callback for processing live stream data. The result callback should only be specified when the running mode is set to MP_RUNNING_MODE_LIVE_STREAM. Arguments of the callback function include: the pointer to embedding result, the image that result was obtained on, the timestamp relevant to embedding extraction results and pointer to error message in case of any failure. The validity of the passed arguments is true for the lifetime of the callback function.
getter/setter pair
running_mode ↔ MpRunningMode
getter/setter pair
running_modeAsInt ↔ int
The running mode of the task. Default to the image mode. Image embedder has three running modes:
getter/setter pair
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
toString() → String
A string representation of this object.
inherited

Operators

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