How harsh-ongit/hill-climb-gesture-control works
This small Python app turns webcam frames into hand gestures and keyboard input for Hill Climb Racing. The main loop captures and processes frames, classifies finger positions, updates key state, and displays a preview. The README documents external webcams and iPhone cameras via Camo; the source shows camera capture and library calls but no separate Camo integration.
Main entry points: main.py Control loop
Components 8
Other components
- Player
- Control loop
main.py - Camera
- Hand tracker
- Gesture classifier
main.py - Keyboard automation
- Hill Climb Racing
- Video preview
Connections 9
- Player → Control loop: runs
- Camera → Control loop: sends frames
- Control loop → Hand tracker: processes frames
- Hand tracker → Control loop: returns landmarks
- Control loop → Gesture classifier: counts fingers
- Control loop → Keyboard automation: dispatches keys
- Keyboard automation → Hill Climb Racing: sends keys
- Control loop → Video preview: displays frames
- Player → Video preview: views