Computer vision
Snakinesis
A hands-free Snake game controlled by deliberate head movement through an ordinary webcam.
- systems programming
- data
- databases
- product
- people
01
The interaction problem
I found early eye-gaze control too jittery for reliable play. The useful shift for me was treating control as a deliberate gesture system with calibration, thresholds, and a return to neutral before another command.
02
The control loop
I use OpenCV to capture frames, MediaPipe for face landmarks, and a controller that converts smoothed relative movement into one-shot directions. I keep keyboard input available as an accessible fallback.
03
Evidence
In the repository I included tests around face-loss prompts, direction selection, gesture gating, timing, and game behavior, plus tagged releases from the initial version through later fixes.
04
Before final copy
I still need a safe demo video and a confirmed collaborator contribution split. Until then I present the control decision—not merely the retro game surface.
Technical notes
Core stack
- Pillow