MpHolisticLandmarkerOptions class final
The options for configuring a MediaPipe holistic landmarker task.
- Inheritance
- Implemented types
- Available extensions
Constructors
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
- hashCode → int
-
The hash code for this object.
no setterinherited
- min_face_detection_confidence ↔ double
-
The minimum confidence score for the face detection to be considered
successful.
getter/setter pair
- min_face_presence_confidence ↔ double
-
The minimum confidence score of face presence score in the face landmark
detection.
getter/setter pair
- min_face_suppression_threshold ↔ double
-
The minimum threshold for the face suppression score in the face detection.
getter/setter pair
- min_hand_landmarks_confidence ↔ double
-
The minimum confidence score of hand presence score in the hand landmark
detection.
getter/setter pair
- min_pose_detection_confidence ↔ double
-
The minimum confidence score for the pose detection to be considered
successful.
getter/setter pair
- min_pose_presence_confidence ↔ double
-
The minimum confidence score of pose presence score in the pose landmark
detection.
getter/setter pair
- min_pose_suppression_threshold ↔ double
-
The minimum threshold for the pose suppression score in the pose detection.
getter/setter pair
- output_face_blendshapes ↔ bool
-
Whether to output face blendshapes classification. Face blendshapes are
used for rendering animations of the face.
getter/setter pair
- output_pose_segmentation_masks ↔ bool
-
Whether to output segmentation masks.
getter/setter pair
-
result_callback
↔ Pointer<
NativeFunction< Void Function(UnsignedInt status, Pointer< >MpHolisticLandmarkerResult> 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 status code, the pointer to recognition result, the
image that result was obtained on, the timestamp relevant to recognition
results and pointer to error message in case of any failure. The data
passed to the callback is only valid for the lifetime of the callback and
must not be freed by the user.
getter/setter pair
- running_mode ↔ MpRunningMode
-
getter/setter pair
- running_modeAsInt ↔ int
-
The running mode of the task. Default to the image mode.
HolisticLandmarker 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