- Node.js (v18 or higher)
- Python 3.8 or higher
- pip (Python package manager)
- Install Python Dependencies:
pip install mediapipe numpy
- Install Node.js Dependencies:
npm install
- Start the Backend Server:
npm run server
- Start the Frontend Development Server (in a new terminal):
npm run dev
├── public/
│ └── videos/ # Sign language video files
│ ├── alphabet/
│ ├── numbers/
│ ├── colors/
│ └── greetings/
├── server/
│ ├── index.js # Express server
│ └── python/ # Python ML model
└── src/ # React frontend
- Frontend runs on: http://localhost:5173
- Backend runs on: http://localhost:3001
- Place video files in the appropriate directory under
public/videos/
- Update the signs data in
src/data/signs.ts
- If the webcam doesn't work, ensure you've granted browser permissions
- If Python errors occur, verify all dependencies are installed
- For backend connection issues, check if both servers are running