Spaces:
Running
Running
File size: 1,155 Bytes
aae7d38 f386794 aae7d38 f386794 aae7d38 f386794 aae7d38 f386794 aae7d38 f386794 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | ---
title: Gesture Mirror
emoji: ποΈ
colorFrom: purple
colorTo: blue
sdk: static
pinned: false
short_description: "Hand gestures make the robot react!"
tags:
- reachy_mini
- reachy_mini_python_app
---
# Gesture Mirror ποΈπ€
Detects hand gestures (wave, thumbs up, point, peace, fist, open palm) via MediaPipe Hands and makes the Reachy Mini robot react with matching movements.
## Reactions
| Gesture | Robot Response |
|---------|--------------|
| π Wave | Waves back with head sway |
| π Thumbs Up | Nods approvingly |
| π Point | Looks in pointed direction |
| βοΈ Peace | Excited bounce with antenna wiggle |
| β Fist | Startled shake |
| ποΈ Open Palm | Calm reset |
## Features
- Real-time hand gesture recognition using MediaPipe Hands
- Gesture stability tracking (3 consistent frames required)
- Cooldown system to prevent reaction spam
- Smooth interpolated animations between keyframes
- Idle breathing animation when no gestures detected
## Requirements
- Camera connected to Reachy Mini
- `mediapipe`, `opencv-python`, `numpy`
## Install & Run
```bash
pip install .
reachy-mini run gesture_mirror
```
|