Instructions to use Chanisorn/hand-gesture-robot-control with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MediaPipe
How to use Chanisorn/hand-gesture-robot-control with MediaPipe:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Hand Gesture Robot Control Model
A RandomForestClassifier trained on MediaPipe hand-landmark vectors to recognize 9 hand gestures for live robot control (movement + claw).
Classes
forward, stop, backward, left, right, open_claw, close_claw, default, none
Usage
import joblib
from huggingface_hub import hf_hub_download
model_path = hf_hub_download(repo_id="Chanisorn/hand-gesture-robot-control", filename="gesture_model.joblib")
scaler_path = hf_hub_download(repo_id="Chanisorn/hand-gesture-robot-control", filename="gesture_scaler.joblib")
clf = joblib.load(model_path)
scaler = joblib.load(scaler_path)
Input: a 63-length vector (21 MediaPipe hand landmarks x,y,z), normalized by
translating to the wrist and scaling by the wrist-to-middle-finger-MCP
distance. See gesture_config.py for the label list and robot command
mapping.
- Downloads last month
- -