Mediapipe
Mediapipe for Hand Gesture Detection
Last updated
Mediapipe for Hand Gesture Detection
Last updated
Mediapipe, developed by Google, provides a pre-built pipeline for real-time hand tracking, detecting hand landmarks with high accuracy. The system detects 21 key landmarks per hand, which are crucial for recognizing gestures.
Mediapipe outputs the positions of 21 hand landmarks, which are represented as 2D or 3D coordinates (𝑥,𝑦) for each point. These coordinates correspond to the joint positions and the fingertip locations.
For example, the coordinates of the landmark on the thumb might be = (, , ), and similarly for other landmarks.
The distances between landmarks or their relative angles are essential features for classification. For instance, the distance between the tip of the index finger and the thumb is calculated as:
This distance can serve as a feature for distinguishing different hand shapes or gestures.