Instructions to use dworsleytonks/yishou with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MediaPipe
How to use dworsleytonks/yishou 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
yishou
A small MLP that recognises the Chinese one-hand number gestures, 1 to 10, from the 21 hand landmarks produced by MediaPipe.
- Input: 63 features, the (x, y, z) of each landmark after normalising for position, scale, in-plane rotation and left/right hand
- Output: 11 classes, the numbers 1 to 10 plus "none"
- Code: https://github.com/sparkup/yishou
Gestures
| Class | Hand shape |
|---|---|
| none | Any hand shape that is not a number |
| 1 | Index finger up |
| 2 | Index and middle fingers up |
| 3 | Index, middle and ring fingers up |
| 4 | Four fingers up, thumb folded |
| 5 | Open hand |
| 6 | Thumb and little finger out, others folded |
| 7 | Thumb, index and middle fingertips pinched together |
| 8 | Thumb and index finger out in an L shape |
| 9 | Index finger hooked, others folded |
| 10 | Closed fist |
Evaluation
Validation accuracy: 96.4% (4051 validation frames, 7052 training frames).
Validation frames come from recordings that were held out whole, so they are not near-duplicates of training frames. All data was recorded by one person on one webcam, so expect lower accuracy on other hands, cameras and lighting.
Usage
pip install git+https://github.com/sparkup/yishou
yishou demo --model dworsleytonks/yishou
- Downloads last month
- 35
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support