HandConfig class
Configuration for hand gesture detection.
Constructors
Properties
-
allowedGestures
→ Set<
Gesture> ? -
If set, only these built-in gestures are reported. Others are
filtered to Gesture.none, which still allows custom gesture fallback.
Ignored if empty. Cannot be used together with deniedGestures.
final
-
customGestures
→ List<
CustomGesture> -
Custom gestures to recognize beyond the 13 built-in ones.
final
-
deniedGestures
→ Set<
Gesture> ? -
If set, these built-in gestures are filtered out (reported as
Gesture.none). Filtered gestures still trigger custom gesture fallback.
Ignored if empty. Cannot be used together with allowedGestures.
final
-
gestureThresholds
→ Map<
Gesture, double> ? -
Per-gesture minimum confidence thresholds. If a gesture's score is below
its entry here, it is filtered to Gesture.none. Overrides the global
minDetectionConfidence for the specific gesture.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxHands → int
-
Maximum hands to detect (1 or 2).
final
- minDetectionConfidence → double
-
Minimum confidence for initial hand detection
0.0, 1.0.final - minPresenceConfidence → double
-
Minimum confidence for hand presence between frames
0.0, 1.0.final - minTrackingConfidence → double
-
Minimum confidence for landmark tracking
0.0, 1.0.final - 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