How aayansh54/isl works
ISL Interpreter recognizes static Indian Sign Language signs from a browser camera, builds a sentence, and offers guided live testing and model results. In the main workflow, the browser tracks hand landmarks, sends them to the backend classifier, then smooths and gates predictions before the interpreter commits a held sign. Results include parity and live-test measurements; live-test records are persisted in SQLite. The README also documents a separate desktop webcam demo and model-training workflow. Edges reflect excerpts, SOURCE INDEX references, or README statements; links to unsampled implementation details are omitted.
Main entry points: Stage.tsx Camera stage · api.ts API client · App.tsx App shell · engine.ts Frame engine
Components 20
Browser application
- App shell
frontend/src/App.tsx - Interpreter screen
frontend/src/pages/Interpreter.tsx - Camera stage
frontend/src/components/Stage.tsx - Camera access
frontend/src/lib/useCamera.ts
Recognition pipeline
- Hand tracker
frontend/src/lib/tracker.ts - Frame engine
frontend/src/lib/engine.ts - Confidence gate
frontend/src/lib/gate.ts - Feature preprocessing
backend/app/features.py - Classifier and parity
backend/app/inference.py - Trained model assets
model_aug - Landmarker model
model/hand_landmarker.task
Backend service
- API client
frontend/src/lib/api.ts - HTTP API
backend/app/main.py
Testing and results
- Guided live test
frontend/src/pages/Test.tsx - Model and results
frontend/src/pages/Results.tsx - Live-test SQLite
backend/app/db.py
Training workflow
- Desktop webcam demo
training/live_clean.py - Training features
training/features.py
Other components
- Interpreter user
- User webcam
Connections 25
- Interpreter user → App shell: uses
README.md - App shell → Interpreter screen: routes to
frontend/src/App.tsx - App shell → Guided live test: routes to
frontend/src/App.tsx - App shell → Model and results: routes to
frontend/src/App.tsx - Interpreter screen → Camera stage: renders
frontend/src/pages/Interpreter.tsx - Camera stage → Camera access: uses
frontend/src/components/Stage.tsx - Camera stage → Hand tracker: loads
frontend/src/components/Stage.tsx - Camera stage → Confidence gate: configures
frontend/src/components/Stage.tsx - Camera stage → Frame engine: runs
frontend/src/components/Stage.tsx - User webcam → Camera access: provides video
README.md - Hand tracker → Landmarker model: uses
README.md - Frame engine → Hand tracker: detects landmarks
frontend/src/lib/engine.ts - Frame engine → API client: sends landmarks
frontend/src/lib/engine.ts - Frame engine → Confidence gate: gates predictions
frontend/src/lib/engine.ts - API client → HTTP API: requests predictions
frontend/src/lib/api.ts - HTTP API → Classifier and parity: classifies
backend/app/main.py - Classifier and parity → Feature preprocessing: builds features
backend/app/inference.py - Classifier and parity → Trained model assets: loads weights
README.md - Interpreter screen → API client: loads vocabulary
frontend/src/pages/Interpreter.tsx - Guided live test → API client: saves test
frontend/src/lib/api.ts - Model and results → API client: loads test data
frontend/src/pages/Results.tsx - Model and results → Classifier and parity: displays parity
README.md - HTTP API → Live-test SQLite: reads and writes
backend/app/main.py - Desktop webcam demo → Training features: uses preprocessing
training/live_clean.py - Training features → Feature preprocessing: matches preprocessing
README.md