How summaira-muzaffar/airframe-studio works
AirFrame Studio is a camera-based gesture art application. The main workflow is hand tracking → frame or face capture → perspective correction → image styling → floating-panel review and air-drawing → gallery save. The graph also includes the optional pinch/face mode and optional diffusion styling. The app excerpt is partial, so some orchestration links rely on README statements and the SOURCE INDEX; unsampled internals are not treated as inspected.
Main entry points: app.py App and modes · hand_tracker.py Hand tracking · inference.py Async styling · face_crop.py Face detection and crop
Components 15
Live interaction
- App and modes
app.py - Hand tracking
hand_tracker.py - Adaptive smoothing
smoothing.py
Capture and geometry
- Face detection and crop
face_crop.py - Perspective transforms
perspective.py
Artwork and styling
- Async styling
inference.py - OpenCV art styles
styles.py - Diffusion backend
inference.py - Air-drawing canvas
canvas.py
Gallery and assets
- Model downloads
model_files.py - Gallery saving
gallery.py - Gallery files
Interface
- HUD and guides
ui_overlay.py
Other components
- User
- Camera
Connections 17
- User → App and modes: gestures and keys
README.md - Camera → App and modes: video frames
app.py - App and modes → Hand tracking: submits frames
README.md - App and modes → Adaptive smoothing: smooths motion
app.py - Hand tracking → Adaptive smoothing: smooths landmarks
hand_tracker.py - App and modes → Perspective transforms: rectifies captures
app.py - App and modes → Face detection and crop: requests face crop
app.py - Hand tracking → Model downloads: loads hand model
hand_tracker.py - Face detection and crop → Model downloads: loads face model
face_crop.py - App and modes → Async styling: submits artwork
README.md - Async styling → OpenCV art styles: applies style
inference.py - Async styling → Diffusion backend: optionally transforms
inference.py - App and modes → Perspective transforms: maps drawing coordinates
README.md - App and modes → Air-drawing canvas: records and renders strokes
README.md - App and modes → Gallery saving: saves artwork
README.md - Gallery saving → Gallery files: writes gallery
README.md - App and modes → HUD and guides: draws interface
app.py