How ishikakodwani26/isl-recognizer works
This repository implements an Indian Sign Language (ISL) recognizer with a browser-based camera and landmark visualization, plus a separate HTTP inference backend. The backend workflow accepts keypoints, queues a request to a persistent Python worker, preprocesses the sequence, and predicts a word using the bundled BiLSTM and label encoder. The excerpts show no connection from the browser UI to the backend, so the two workflows are represented separately. The frontend excerpt is partial; its shown camera and MediaPipe behavior does not establish that it submits predictions.
Main entry points: predict.py Sign prediction · server.js HTTP API and queue · App.jsx Recognizer UI · python_worker.py Python worker
Components 11
Browser recognition
- Recognizer UI
frontend/src/App.jsx - Webcam stream
- MediaPipe Holistic
Inference service
- HTTP API and queue
backend/server.js - Python worker
backend/python_worker.py
ML inference
- Sign prediction
src/ml/predict.py - Keypoint preprocessing
src/ml/preprocessing.py - BiLSTM model
models/isl_bilstm_model.keras - Label encoder
models/label_encoder.pkl
Other components
- Camera user
- API client
Connections 11
- Camera user → Recognizer UI: starts camera
frontend/src/App.jsx - Recognizer UI → Webcam stream: requests stream
frontend/src/App.jsx - Recognizer UI → MediaPipe Holistic: configures detector
frontend/src/App.jsx - API client → HTTP API and queue: posts keypoints
backend/server.js - HTTP API and queue → Python worker: queues request
backend/server.js - Python worker → Sign prediction: calls prediction
backend/python_worker.py - Sign prediction → Keypoint preprocessing: preprocesses keypoints
src/ml/predict.py - Sign prediction → BiLSTM model: loads and predicts
src/ml/predict.py - Sign prediction → Label encoder: decodes class
src/ml/predict.py - Python worker → HTTP API and queue: returns prediction
backend/server.js - HTTP API and queue → API client: responds with result
backend/server.js