How ravichandranayakar/ai_photographer works
Frozen AI is a Flutter pose-coaching camera app. The intended workflow is to choose a target pose, analyze live camera landmarks, stabilize and normalize them, compare the subject’s pose, then render a target silhouette and coaching cues; a sustained match is intended to trigger capture. README documents these capabilities, but the provided source excerpts do not include Dart runtime code, so implementation-level links are limited to those documented relationships. The pose-authoring tool and research components are included as distinct product capabilities; planned paywall and capture features are not represented as confirmed implementations.
Main entry points: euclidean_matcher.dart Pose Matcher · main.dart Flutter Camera UI · target_poses.dart Target Pose Library · pose_session_state_machine.dart Pose Session
Components 20
Camera App
- Flutter Camera UI
lib/main.dart - Target Pose Library
lib/engine/research/target_poses.dart - Pose Session
lib/engine/state/pose_session_state_machine.dart - Session Controller
lib/engine/state/session_controller.dart - Photo Capture
lib/main.dart - Gallery Storage
lib/main.dart
Pose Analysis
- Landmark Smoothing
lib/engine/smoothing/frozen_euro_filter.dart - Landmark Normalizer
lib/engine/normalizer/landmark_normalizer.dart
Intelligence Engine
- Pose Matcher
lib/engine/matcher/euclidean_matcher.dart - Coaching Decisions
lib/engine/guidance/decision_engine.dart - Guidance Rendering
lib/engine/guidance/guidance_arrow_painter.dart - Capsule CSG Silhouette
lib/engine/silhouette_b/contour/v2_csg/csg_extractor.dart - Silhouette Rendering
lib/engine/silhouette/silhouette_painter.dart
Authoring and Research
- Pose Authoring Tool
lib/main_authoring.dart - Pose Validation
lib/engine/authoring/pose_quality_gate.dart - Pose Serialization
lib/engine/authoring/pose_serializer.dart - Algorithm Research
lib/engine/research/evaluate_topic_4.dart
Other components
- Photographer
- Camera Feed
- ML Kit Vision
Connections 19
- Photographer → Flutter Camera UI: selects pose
README.md - Camera Feed → ML Kit Vision: provides frames
README.md - ML Kit Vision → Landmark Smoothing: extracts landmarks
README.md - Landmark Smoothing → Landmark Normalizer: stabilizes landmarks
README.md - Landmark Normalizer → Pose Matcher: normalizes skeleton
README.md - Target Pose Library → Pose Matcher: supplies target
README.md - Pose Matcher → Coaching Decisions: scores alignment
README.md - Coaching Decisions → Guidance Rendering: drives cues
README.md - Target Pose Library → Capsule CSG Silhouette: defines target
README.md - Capsule CSG Silhouette → Silhouette Rendering: produces outline
README.md - Silhouette Rendering → Flutter Camera UI: renders over viewfinder
README.md - Guidance Rendering → Flutter Camera UI: renders coaching
README.md - Pose Matcher → Pose Session: updates match state
README.md - Pose Session → Photo Capture: triggers on sustained match
README.md - Photo Capture → Gallery Storage: saves photograph
README.md - Photographer → Pose Authoring Tool: authors poses
README.md - Pose Authoring Tool → Pose Validation: validates poses
- Pose Validation → Pose Serialization: serializes accepted poses
- Photographer → Algorithm Research: evaluates algorithms