mediapipe
mediapipe copied to clipboard
HAND_PALM_CONNECTIONS class contains wrong connection.
Have I written custom code (as opposed to using a stock example script provided in MediaPipe)
Yes
OS Platform and Distribution
Windows 11
Mobile device if the issue happens on mobile device
No response
Browser and version if the issue happens on browser
No response
Programming Language and version
Python
MediaPipe version
0.10.21
Bazel version
No response
Solution
HandLandmarker
Android Studio, NDK, SDK versions (if issue is related to building in Android environment)
No response
Xcode & Tulsi version (if issue is related to building for iOS)
No response
Describe the actual behavior
Second connection of HAND_PALM_CONNECTIONS is wrong.
Describe the expected behaviour
It should be (0, 5) instead of (1, 5).
Standalone code/steps you may have used to try to get what you need
Correct code is provided in other info section.
Other info / Complete Logs
Original code:
HAND_PALM_CONNECTIONS: List[Connection] = [
Connection(0, 1),
Connection(1, 5),
Connection(9, 13),
Connection(13, 17),
Connection(5, 9),
Connection(0, 17),
] should be
HAND_PALM_CONNECTIONS: List[Connection] = [
Connection(0, 1),
Connection(0, 5),
Connection(9, 13),
Connection(13, 17),
Connection(5, 9),
Connection(0, 17),
]