This project translates sign language gestures into text using computer vision and a pre-trained Convolutional Neural Network (CNN). It leverages OpenCV and TensorFlow to process webcam input, predict the gesture shown, and display the recognized text.
- Python 3.x
- OpenCV
- TensorFlow / Keras
- cvzone
git clone <your-repo-link>
cd Sign-Language-TO-Text
python -m venv venv
For Windows Command Prompt:
venv\Scripts\activate
For PowerShell:
Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass
.\venv\Scripts\Activate
pip install -r requirements.txt
python prediction_wo_gui.py
python final_pred.py
python data_collection_final.py
cnn8grps_rad1_model.h5– Pre-trained model for gesture recognitionprediction_wo_gui.py– Predicts signs from webcam without GUIfinal_pred.py– Predicts signs with GUI and advanced featuresdata_collection_final.py– Script to collect new gesture datarequirements.txt– Python dependencies
- Ensure webcam is connected
- If you encounter errors, check for missing modules and install them using
pip
Project is functional and tested with pre-trained model.
Feel free to improve the model or extend the gesture set!