CV Gesture Classification Demo

Gesture Commander

Defend your base using hand pose commands.
Hold a gesture for 0.5s to fire — 7 poses, 7 unique spells.

FISTExplosion
🖐️OPENShield
☝️POINTLaser
✌️PEACESpread
🖖3 FIN.Barrage
🤘ROCKChain ⚡
👍THUMBFreeze ❄️

Rule-based landmark geometry · MediaPipe 21-keypoint hands · No ML model needed

SCORE 0
WAVE 1
LIVES ❤️❤️❤️❤️❤️

Active Gesture

— no hand — show a gesture

Hold pose 0.5 s to fire

Command Guide

Fist

Explosion AOE

🖐️
Open Palm

Shield Wall

☝️
Point

Precision Laser

✌️
Peace

2-way Spread

🖖
3 Fingers

Triple Barrage

🤘
Rock On

Chain Lightning

👍
Thumbs Up

Freeze All

Pose Detection

Rule-Based No ML Model 21 Landmarks Geometry Only

Each finger is classified extended/curled by comparing tip-to-wrist distance vs. PIP-to-wrist distance — rotation-invariant geometry. Thumb uses normalized y-axis vs. palm centroid. Same principle as pose-based action recognition in animal behavior studies.