This project uses a webcam to detect hand landmarks and classify hand gestures into sign language letters using a pre-trained model.
Watch the demo video on YouTube
- Python 3.x
- OpenCV
- TensorFlow
- MediaPipe
-
Clone the repository:
git clone https://github.com/Eshan276/sign_lang_Det.git cd sign_lang_Det
-
Install the required packages:
pip install -r requirements.txt
-
Download the pre-trained model and place it in the [models] directory.
-
Run the cls2.py script:
python cls2.py
-
The webcam will start, and the program will detect hand landmarks and classify the hand gestures into sign language letters.
-
Press
q
to quit the program.
- landmarker.py: Contains the
Landmarker
class for detecting hand landmarks. - cls2.py: Contains the
Classifier
class for classifying hand gestures and the main script to run the program. - models: Directory containing the pre-trained models.
- requirements.txt: List of required packages.
This project is licensed under the MIT License. See the LICENSE file for details.