mp.tasks.vision.GestureRecognizerResult
Stay organized with collections
Save and categorize content based on your preferences.
The gesture recognition result from GestureRecognizer.
mp.tasks.vision.GestureRecognizerResult(
gestures: list[list[category_module.Category]],
handedness: list[list[category_module.Category]],
hand_landmarks: list[list[landmark_module.NormalizedLandmark]],
hand_world_landmarks: list[list[landmark_module.Landmark]]
)
Each vector element represents a single hand detected in the image.
Attributes |
gestures
|
Recognized hand gestures of detected hands. Note that the index of
the gesture is always -1, because the raw indices from multiple gesture
classifiers cannot consolidate to a meaningful index.
|
handedness
|
Classification of handedness. Left and Right handedness
correspond to the subject's hands, not the viewer. Passing a horizontally
mirrored image will invert these outputs.
|
hand_landmarks
|
Detected hand landmarks in normalized image coordinates.
|
hand_world_landmarks
|
Detected hand landmarks in world coordinates.
|
Methods
__eq__
__eq__(
other
)
Return self==value.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-11-05 UTC.
[null,null,["Last updated 2026-11-05 UTC."],[],[]]