This CL will fix the typo from _PALM_LANMARKS to _PALM_LANDMARKS.

PiperOrigin-RevId: 503352055
This commit is contained in:
MediaPipe Team 2023-01-19 22:09:55 -08:00 committed by Copybara-Service
parent 4b9a52dc34
commit 921b6a6bef

View File

@ -37,9 +37,10 @@ _THICKNESS_FINGER = 2
_THICKNESS_DOT = -1 _THICKNESS_DOT = -1
# Hand landmarks # Hand landmarks
_PALM_LANMARKS = (HandLandmark.WRIST, HandLandmark.THUMB_CMC, _PALM_LANDMARKS = (HandLandmark.WRIST, HandLandmark.THUMB_CMC,
HandLandmark.INDEX_FINGER_MCP, HandLandmark.MIDDLE_FINGER_MCP, HandLandmark.INDEX_FINGER_MCP,
HandLandmark.RING_FINGER_MCP, HandLandmark.PINKY_MCP) HandLandmark.MIDDLE_FINGER_MCP, HandLandmark.RING_FINGER_MCP,
HandLandmark.PINKY_MCP)
_THUMP_LANDMARKS = (HandLandmark.THUMB_MCP, HandLandmark.THUMB_IP, _THUMP_LANDMARKS = (HandLandmark.THUMB_MCP, HandLandmark.THUMB_IP,
HandLandmark.THUMB_TIP) HandLandmark.THUMB_TIP)
_INDEX_FINGER_LANDMARKS = (HandLandmark.INDEX_FINGER_PIP, _INDEX_FINGER_LANDMARKS = (HandLandmark.INDEX_FINGER_PIP,
@ -54,7 +55,7 @@ _RING_FINGER_LANDMARKS = (HandLandmark.RING_FINGER_PIP,
_PINKY_FINGER_LANDMARKS = (HandLandmark.PINKY_PIP, HandLandmark.PINKY_DIP, _PINKY_FINGER_LANDMARKS = (HandLandmark.PINKY_PIP, HandLandmark.PINKY_DIP,
HandLandmark.PINKY_TIP) HandLandmark.PINKY_TIP)
_HAND_LANDMARK_STYLE = { _HAND_LANDMARK_STYLE = {
_PALM_LANMARKS: _PALM_LANDMARKS:
DrawingSpec( DrawingSpec(
color=_RED, thickness=_THICKNESS_DOT, circle_radius=_RADIUS), color=_RED, thickness=_THICKNESS_DOT, circle_radius=_RADIUS),
_THUMP_LANDMARKS: _THUMP_LANDMARKS: