How aayansh54/isl-translator works
This is a browser-based Indian Sign Language interpreter with live recognition, guided landmark collection, and model-evaluation results. The main user workflow is to open the live screen, load model assets, capture hand landmarks (or use mock input), process predictions through the recognition pipeline, and display recognition feedback; the app also supports speech output and sentence building. Collection and evaluation are separate product workflows. Source excerpts establish several internal calls, but do not show every screen’s runtime wiring, so uncertain relationships are omitted or marked unverified.
Main entry points: App.tsx App Router · LiveScreen.tsx Live Interpreter · client.ts API Client · pipeline.ts Frame Pipeline
Components 22
Application UI
- App Router
frontend/src/App.tsx - Live Interpreter
frontend/src/screens/live/LiveScreen.tsx - Navigation
frontend/src/components/Navbar.tsx - Settings Drawer
frontend/src/components/SettingsDrawer.tsx - Sign Reference
frontend/src/components/SignsReferencePanel.tsx
Recognition Runtime
- Hand Tracker
frontend/src/tracker/tracker.ts - Frame Pipeline
frontend/src/pipeline/pipeline.ts - Feature Extraction
frontend/src/core/features.ts - Model Inference
frontend/src/core/model.ts - Prediction Gate
frontend/src/core/gate.ts - Mock Controller
frontend/src/mock/mockController.ts - Model Assets
frontend/public/model - Fallback Assets
frontend/public/mock
Collection And Evaluation
- Data Collection
frontend/src/screens/collect/CollectScreen.tsx - Evaluation Results
frontend/src/screens/results/ResultsScreen.tsx
Preferences And Services
- API Client
frontend/src/api/client.ts - Settings Store
frontend/src/store/settings.ts - Sentence Buffer
frontend/src/store/sentence.ts - Speech Output
frontend/src/speech/tts.ts
Other components
- User
- API Service
- Browser Speech API
Connections 28
- User → App Router: uses
- App Router → Navigation: renders
frontend/src/App.tsx - App Router → Live Interpreter: routes to
frontend/src/App.tsx - App Router → Data Collection: routes to
frontend/src/App.tsx - App Router → Evaluation Results: routes to
frontend/src/App.tsx - App Router → Settings Drawer: renders
frontend/src/App.tsx - App Router → Sign Reference: renders
frontend/src/App.tsx - App Router → API Client: loads vocabulary
frontend/src/App.tsx - Live Interpreter → Frame Pipeline: uses
frontend/src/screens/live/LiveScreen.tsx - Live Interpreter → Hand Tracker: starts tracking
frontend/src/screens/live/LiveScreen.tsx - Live Interpreter → Model Inference: loads model
frontend/src/screens/live/LiveScreen.tsx - Live Interpreter → Mock Controller: starts mock input
frontend/src/screens/live/LiveScreen.tsx - Live Interpreter → Sentence Buffer: updates
frontend/src/screens/live/LiveScreen.tsx - Live Interpreter → Speech Output: speaks signs
frontend/src/screens/live/LiveScreen.tsx - Frame Pipeline → Feature Extraction: computes features
frontend/src/pipeline/pipeline.ts - Frame Pipeline → Model Inference: predicts
frontend/src/pipeline/pipeline.ts - Frame Pipeline → Prediction Gate: filters predictions
frontend/src/pipeline/pipeline.ts - Frame Pipeline → Hand Tracker: subscribes frames
frontend/src/pipeline/pipeline.ts - Settings Drawer → Hand Tracker: lists cameras
frontend/src/components/SettingsDrawer.tsx - Settings Drawer → Speech Output: lists voices
frontend/src/components/SettingsDrawer.tsx - Settings Drawer → Settings Store: edits preferences
- Data Collection → Hand Tracker: draws landmarks
frontend/src/screens/collect/CollectScreen.tsx - Data Collection → API Client: uploads records
frontend/src/screens/collect/CollectScreen.tsx - Evaluation Results → API Client: loads metrics
frontend/src/screens/results/ResultsScreen.tsx - API Client → API Service: sends requests
- API Client → Model Assets: loads model files
frontend/src/api/client.ts - API Client → Fallback Assets: falls back to
frontend/src/api/client.ts - Speech Output → Browser Speech API: uses
frontend/src/speech/tts.ts