This project is a web application that provides real-time speech-to-text translation from English to Spanish using a camera feed. The application is designed to be compatible with GitHub Pages, and being a real helpful tool on the tranalations of conferences given in english to Spanish.
- Fullscreen camera feed
- Real-time speech recognition (English)
- Automatic translation to Spanish
- Large, clear subtitles displayed over the video feed
- HTML5, CSS3, JavaScript
- Flask (Python web framework)
- Web Speech API for speech recognition
- Google Translate API for translation
- Install the required Python packages:
pip install flask flask-cors googletrans==3.1.0a0
- Run the Flask application:
python app.py
- Open a web browser and navigate to
http://localhost:5000
- Allow camera and microphone access when prompted by your browser.
- Speak clearly in English.
The application will display the Spanish translation as subtitles on the screen.
MIT License
Contributions, issues, and feature requests are welcome. Feel free to check issues page if you want to contribute.