This repository now includes a complete full-stack implementation:
server/- FastAPI inference service using your trained static and motion modelsclient/- Next.js webcam UI that streams frames to backend and builds sentence output
Recommended Python version: 3.10 or 3.11.
cd server
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
uvicorn app:app --host 0.0.0.0 --port 8000 --reloadcd client
npm install
cp .env.local.example .env.local
npm run devOpen http://localhost:3000.
Static-Model-Sentence/model.pMotion-LSTM-Model/motion_model.h5- Optional:
Motion-LSTM-Model/motion_data.pickle(if absent, backend uses notebook action fallback labels)
GET /healthGET /metaPOST /predictPOST /control