This project uses Python and the OpenCV and MediaPipe libraries to detect and translate signs in real time into Spanish. The project is designed to recognise and translate American Sign Language (ASL) signs and is ideal for those interested in learning or communicating with people who are deaf or hard of hearing.
- Python 3.8 (or lower to avoid errors)
- OpenCV 4.x
- MediaPipe
- Download or clone this repository.
git clone https://github.com/gherrada22/Spanish-Sign-Translator.git
- Download the necessary requirements with the following command in the terminal:
pip install -r requirements.txt
Once the libraries are installed, type in your terminal the root location of the repository:
py app.py
python app.py
python3 app.py
Make sure you have a webcam enabled and focused on the sign you want to translate.
- MediaPipe - Main library for hand position detection.
- OpenCV - Viewer and image capturing device for identification.
- NumPy - Used to generate coordinate normalisation.
This project is for educational purposes only and should not be used for commercial or production purposes. Translation accuracy may vary depending on lighting conditions and quality of signage. Higher processing power may be required for better results.
This project is licensed under the Creative Commons Attribution License - see the file LICENSE.md for details.
This project is open source and we are happy to receive contributions. If you would like to contribute, please follow these steps:
- Make a fork of the repository.
- Create a branch for your feature or bugfix (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Added my new feature'
) - Push your branch (
git push origin my-new-feature
) - Create a pull request.
Copyright © 2023-present George Herrada Farfán