A real-time sign language recognition and translation application built for HACKHARVARD 2025.
- 🎥 Real-time Camera Processing: Live sign language recognition using your webcam
- 🔊 Text-to-Speech: Convert translated text to speech using ElevenLabs AI voices
- 📝 Translation History: Keep track of all your translations
- 🎨 Modern UI: Clean, accessible interface built with React and Tailwind CSS
-
Clone the repository:
git clone https://github.com/Bruvato/hackharvard2025.git cd hackharvard2025 -
Install frontend dependencies:
npm install
-
Set up the backend (Sign Language Recognition):
cd backend uv sync -
Set up ElevenLabs API (for text-to-speech):
- Follow the ElevenLabs Setup Guide
- Create a
.envfile with your API key
-
Start the backend server:
cd backend ./start.sh -
Start the frontend (in a new terminal):
npm run dev
-
Open your browser and navigate to
http://localhost:3000
- Frontend: React 18 + TypeScript + Vite
- Backend: FastAPI + MediaPipe + Python 3.11
- Sign Language Recognition: MediaPipe Hands
- Styling: Tailwind CSS + Radix UI
- Text-to-Speech: ElevenLabs API
- Icons: Lucide React
- Build Tools: Vite (frontend), uv (backend)
- MediaPipe Hands for hand landmark detection
- Real-time gesture recognition with configurable confidence thresholds
- REST API endpoints for image and video frame processing
- Batch processing support for multiple images
- Health monitoring and error handling
- 6 AI voices available (Rachel, Antoni, Domi, Bella, Elli)
- Customizable voice settings (stability, similarity, style)
- Real-time audio generation from translated text
- WebRTC getUserMedia for camera access
- Real-time video processing with MediaPipe integration
- Permission handling with user-friendly error messages
- Backend connectivity monitoring and status indicators
npm run dev- Start frontend development servernpm run build- Build frontend for productioncd backend && ./start.sh- Start backend server./test_backend.sh- Test backend API endpoints
├── src/ # Frontend React application
│ ├── components/ # React components
│ ├── hooks/ # Custom React hooks
│ ├── services/ # API services
│ └── App.tsx # Main application
├── backend/ # Python FastAPI backend
│ ├── main.py # FastAPI server
│ ├── sign_language_model.py # MediaPipe integration
│ ├── start.sh # Backend startup script
│ └── pyproject.toml # Python dependencies
└── README.md # This file
This project was built for HACKHARVARD 2025. Feel free to fork and contribute!
MIT License - see LICENSE file for details.