Gesture: Index finger pointing up
(other fingers down)
☝️
👊
Action: Moves cursor smoothly and quickly
Speed: 1.8x faster than before
Response: Instant (no lag)
Gesture: Pinch thumb and index finger together
(distance < 35px)
👌
(pinch)
Action: Left mouse click
Protection: 0.3s cooldown (no double-clicks)
Visual: Red circle appears
Gesture: Pinch thumb and middle finger together
(index finger down)
🤌
(pinch)
Action: Right mouse click
Protection: 0.3s cooldown
Visual: Purple circle appears
Gesture: Index and middle fingers up
(thumb down)
✌️
👊
Action: Smooth scrolling
Movement: Up/down with fingers
Speed: 25x multiplier
Smoothing: Averaged between both fingers
Visual: Yellow circle + "SCROLL MODE" text
Gesture: Index finger pointing at key
Hold for 0.8 seconds
☝️
👊
↓
[KEY]
Action: Types the key
Visual: Green progress bar fills up
Feedback: Key highlights in green when pressed
┌────┬────┬────┬────┬────┬────┬────┬────┬────┬────┐
│ Q │ W │ E │ R │ T │ Y │ U │ I │ O │ P │
├────┼────┼────┼────┼────┼────┼────┼────┼────┼────┤
│ A │ S │ D │ F │ G │ H │ J │ K │ L │ │
├────┼────┼────┼────┼────┼────┼────┼────┼──────────┤
│ Z │ X │ C │ V │ B │ N │ M │ BACKSPACE │
├──────────────────────────────────┼──────────────┤
│ SPACE (300px) │ ENTER │
└──────────────────────────────────┴──────────────┘
Key Size: 80x80px (33% larger!)
Spacing: 20px gaps (easier targeting)
Activation: 0.8 seconds (faster)
Keyboard Shortcuts:
┌─────┬──────────────────────────┐
│ M │ Switch to Mouse mode │
│ K │ Switch to Keyboard mode │
│ F │ Toggle fullscreen │
│ Q │ Quit application │
└─────┴──────────────────────────┘
[Camera]
|
| 1-2 feet
|
↓
[Your Hand]
✅ Good lighting
✅ Plain background
✅ Hand fully visible
✅ Smooth movements
✅ Either left or right hand!
The system automatically detects:
- Left hand: Thumb on left side
- Right hand: Thumb on right side
No configuration needed!
Just use whichever hand is comfortable.
🟢 Green Circle = Cursor position (normal)
🔴 Red Circle = Left click detected
🟣 Purple Circle = Right click detected
🟡 Yellow Circle = Scroll mode active
📝 "SCROLL MODE" = Scrolling enabled
🟢 Green Circle = Finger position
📊 Green Bar = Hover progress (0-100%)
🟩 Green Key = Key being pressed
🔵 Blue Key = Key being hovered
⬛ Gray Key = Normal key state
- ✅ 40% faster hand detection
- ✅ Instant cursor movement (no delay)
- ✅ 3-frame smoothing buffer (reduced from 5)
- ✅ 1.8x cursor speed multiplier
- ✅ Scroll smoothing buffer (2 frames)
- ✅ Averaged finger positions for stability
- ✅ Click debouncing (0.3s cooldown)
- ✅ Screen bounds clamping
- ✅ 33% larger keyboard keys
- ✅ 100% more spacing between keys
- ✅ 20% faster key activation
- ✅ Better key layout organization
-
Cursor Movement
- Keep other fingers closed
- Move smoothly, not jerky
- Stay within camera frame
-
Clicking
- Pinch firmly but briefly
- Wait for visual feedback
- Don't hold the pinch
-
Scrolling
- Keep both fingers parallel
- Move up/down steadily
- Larger movements = faster scroll
-
Typing
- Point directly at key center
- Hold steady for 0.8 seconds
- Watch the progress bar
Right Hand Detection:
Wrist ← Pinky
(Pinky is left of wrist)
Left Hand Detection:
Pinky → Wrist
(Pinky is right of wrist)
The system automatically adjusts
thumb detection based on orientation!
| Want to... | Do this... |
|---|---|
| Move cursor | ☝️ Index up |
| Click | 🤏 Thumb + Index pinch |
| Right-click | 🤌 Thumb + Middle pinch |
| Scroll | ✌️ Index + Middle up |
| Type | 👆 Hover 0.8s |
| Switch mode | Press M or K |
- Use either hand - System works with both!
- Smooth gestures - Avoid sudden movements
- Good lighting - Helps detection speed
- Practice scrolling - Two fingers give best control
- Keyboard spacing - Larger keys are easier to hit
- Fullscreen mode - Press F for better visibility
Enjoy your optimized hand tracking system! 🎉
For technical details, see OPTIMIZATION_SUMMARY.md
For quick start, see QUICK_START_OPTIMIZED.md