How harpita-p/kiro-interactionkit works
Kiro InteractionKit is a Python starter kit for turning webcam input into hand, face, and head tracking states and gestures, with two included applications. In Holo-Board, hand gestures control a drawing board whose video, audio, and ink can be recorded; Math-O-Lantern uses pinch interaction to slice answer-bearing pumpkins while players solve arithmetic questions. The graph separates reusable tracking, gesture recognition, and app behavior. App excerpts are partial, so internal relationships beyond the shown hand-tracker calls and documented capabilities are omitted rather than inferred.
Main entry points: Holo-Board/main.py Holo-Board · Math-O-Lantern/main.py Math Game · hand_controller.py Hand Tracker · face_controller.py Face Tracker
Components 13
Tracking
- Hand Tracker
kiro_interaction_kit/controllers/hand_controller.py - Face Tracker
kiro_interaction_kit/controllers/face_controller.py - Head Tracker
kiro_interaction_kit/controllers/head_controller.py
Gesture Recognition
- Hand Gestures
kiro_interaction_kit/gestures/hand_gestures - Face Gestures
kiro_interaction_kit/gestures/face_gestures - Head Gestures
kiro_interaction_kit/gestures/head_gestures
Applications
- Holo-Board
my_apps/Holo-Board/main.py - Drawing Canvas
my_apps/Holo-Board/main.py - AV Recorder
my_apps/Holo-Board/main.py - Math Game
my_apps/Math-O-Lantern/main.py - Question Session
my_apps/Math-O-Lantern/main.py - Pumpkin Play
my_apps/Math-O-Lantern/main.py
Other components
- Player
Connections 11
- Hand Tracker → Hand Gestures: detects with
kiro_interaction_kit/controllers/hand_controller.py - Face Tracker → Face Gestures: detects with
kiro_interaction_kit/controllers/face_controller.py - Player → Holo-Board: uses gestures
README.md - Holo-Board → Hand Tracker: processes frames
my_apps/Holo-Board/main.py - Holo-Board → Drawing Canvas: controls drawing
README.md - Holo-Board → AV Recorder: records media
README.md - Player → Math Game: plays
README.md - Math Game → Hand Tracker: processes frames
my_apps/Math-O-Lantern/main.py - Math Game → Question Session: manages questions
my_apps/Math-O-Lantern/main.py - Math Game → Pumpkin Play: spawns and checks
my_apps/Math-O-Lantern/main.py - Head Tracker → Head Gestures