HandLandmarkerOptions class final

Options for the official Hand Landmarker.

Inheritance

Constructors

HandLandmarkerOptions({DownloadAsset? model, String? modelPath, Uint8List? modelBytes, RunningMode runningMode = RunningMode.image, Delegate delegate = Delegate.cpu, int numHands = 1, double minHandDetectionConfidence = 0.5, double minHandPresenceConfidence = 0.5, double minTrackingConfidence = 0.5})
Supply the task bundle and optional tracking thresholds.

Properties

delegate → Delegate
The processor the task runs on, fixed until it is disposed.
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
minHandDetectionConfidence → double
Minimum palm detection confidence.
finalinherited
minHandPresenceConfidence → double
Minimum hand presence confidence from the landmark model.
finalinherited
minTrackingConfidence → double
Minimum tracking confidence in video and live stream modes.
finalinherited
model → DownloadAsset?
Pinned official model: the app's bundled copy, or a download when ModelStore.allowDownloads is true. Verified against its SHA-256.
finalinherited
modelBytes → Uint8List?
Owned, read-only model bytes. Null when the model is a file.
no setterinherited
modelPath → String?
The model's location, as Google's APIs read it: a file on native platforms and a URL, resolved against the page, in browsers. Null when the model is in memory.
no setterinherited
numHands → int
Maximum number of detected hands.
finalinherited
runningMode → RunningMode
Still images or timestamped frames.
finalinherited
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