How altunsumerve/hava-fare works
Air Mouse is a Windows desktop app that turns webcam hand gestures into mouse actions and microphone double-claps into website launches. Its main loop handles camera frames, hand tracking, gesture interpretation, mouse control, and the preview/overlay; the clap listener runs separately and signals the app through a callback. The README documents the gesture and clap behavior, while the excerpts show the main app’s configuration and listener wiring. Some display and callback details are documented but not visible in the sampled code.
Main entry points: hava_fare.py Gesture app loop · alkis_dinleyici.py Clap listener · ayarlar.py App settings
Components 14
Hand Control
- Gesture app loop
hava_fare.py - Gesture interpretation
hava_fare.py - Mouse actions
hava_fare.py
Clap Control
- Clap listener
alkis_dinleyici.py - Clap callback
hava_fare.py - Configured websites
ayarlar.py
App Display
- Preview window
hava_fare.py - Overlay window
hava_fare.py
Configuration
- App settings
ayarlar.py
Other components
- User
- Webcam
- MediaPipe hand tracking
- Microphone
- Web browser
Connections 16
- User → Webcam: shows gestures
README.md - Webcam → Gesture app loop: supplies frames
hava_fare.py - Gesture app loop → MediaPipe hand tracking: tracks hands
README.md - Gesture app loop → Gesture interpretation: processes landmarks
hava_fare.py - Gesture interpretation → Mouse actions: selects actions
README.md - Mouse actions → User: moves or clicks
hava_fare.py - Microphone → Clap listener: supplies audio
README.md - Gesture app loop → Clap listener: starts listener
hava_fare.py - Clap listener → Clap callback: calls on double clap
alkis_dinleyici.py - Clap callback → Configured websites: opens configured sites
README.md - Clap callback → Web browser: opens sites
README.md - Gesture app loop → Preview window: renders feedback
README.md - Preview window → User: shows status
README.md - Gesture app loop → Overlay window: configures overlay
hava_fare.py - App settings → Gesture app loop: configures behavior
hava_fare.py - App settings → Clap listener: sets audio thresholds
alkis_dinleyici.py