From 921b6a6befae381ba873fb61ba170d902a1c6b02 Mon Sep 17 00:00:00 2001 From: MediaPipe Team Date: Thu, 19 Jan 2023 22:09:55 -0800 Subject: [PATCH] This CL will fix the typo from _PALM_LANMARKS to _PALM_LANDMARKS. PiperOrigin-RevId: 503352055 --- mediapipe/python/solutions/drawing_styles.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/mediapipe/python/solutions/drawing_styles.py b/mediapipe/python/solutions/drawing_styles.py index b43bca8d3..5d75d5b30 100644 --- a/mediapipe/python/solutions/drawing_styles.py +++ b/mediapipe/python/solutions/drawing_styles.py @@ -37,9 +37,10 @@ _THICKNESS_FINGER = 2 _THICKNESS_DOT = -1 # Hand landmarks -_PALM_LANMARKS = (HandLandmark.WRIST, HandLandmark.THUMB_CMC, - HandLandmark.INDEX_FINGER_MCP, HandLandmark.MIDDLE_FINGER_MCP, - HandLandmark.RING_FINGER_MCP, HandLandmark.PINKY_MCP) +_PALM_LANDMARKS = (HandLandmark.WRIST, HandLandmark.THUMB_CMC, + HandLandmark.INDEX_FINGER_MCP, + HandLandmark.MIDDLE_FINGER_MCP, HandLandmark.RING_FINGER_MCP, + HandLandmark.PINKY_MCP) _THUMP_LANDMARKS = (HandLandmark.THUMB_MCP, HandLandmark.THUMB_IP, HandLandmark.THUMB_TIP) _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, HandLandmark.PINKY_TIP) _HAND_LANDMARK_STYLE = { - _PALM_LANMARKS: + _PALM_LANDMARKS: DrawingSpec( color=_RED, thickness=_THICKNESS_DOT, circle_radius=_RADIUS), _THUMP_LANDMARKS: