Skip to content

Commit

Permalink
Add comment about gesture attribute in HandRegion docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
geaxgx committed Jan 14, 2022
1 parent 06048c7 commit c803ad3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mediapipe_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ class HandRegion:
xyz: real 3D world coordinates of the wrist landmark, or of the palm center (if landmarks are not used),
xyz_zone: (left, top, right, bottom), pixel coordinates in the source rectangular image
of the rectangular zone used to estimate the depth
gesture: (optional, set in recognize_gesture() when use_gesture==True) string corresponding to recognized gesture ("ONE","TWO","THREE","FOUR","FIVE","FIST","OK","PEACE")
or None if no gesture has been recognized
"""
def __init__(self, pd_score=None, pd_box=None, pd_kps=None):
self.pd_score = pd_score # Palm detection score
Expand Down

0 comments on commit c803ad3

Please sign in to comment.