Sign Language Alphabet

- AI Developer
- February 2022 – March 2022
- Completed
In numbers
- Letters the network tells apart
- 26
- Convolution layers, trained from scratch
- 3
- Training epochs on 64×64 images
- 25
About the Project
Sign Language Alphabet is a desktop app for learning the sign-language alphabet. You hold your hand inside a box on the camera feed and the app tells you which letter you are signing. In test mode it asks for a random letter and checks whether you signed it.
Under the hood, each frame is flipped, cropped to the box and turned into an HSV mask that separates the hand from the background. The mask goes to a convolutional network built with Keras: three convolution and pooling layers, a dense layer with dropout, and a softmax over the 26 letters, trained on 64×64 images with augmentation for 25 epochs. Before trusting the network, the app compares the frame with a folder of saved gestures using SIFT features and a FLANN matcher, so a new gesture such as a space can be added by dropping in an image, without retraining. The interface is PyQt5, with screens designed in Qt Designer.
I built it in February and March 2022, during university, as my first end-to-end computer vision project: from collecting and augmenting images to a model a person could actually use.
How it works
The path a request takes, step by step.
- YouSign a letter inside the box
- CameraOpenCV inside a PyQt5 app
- HSV maskSeparates the hand from the background
- SIFT checkMatches saved custom gestures first
- CNNKeras, softmax over 26 letters
- LetterShown live, or scored in test mode
Decisions
The choices that shaped it, and what each one cost.
Mask the hand before the model sees it
- An HSV mask on a fixed region removes the background, so a small network trained on 64×64 images only has to learn the shape of the hand.
- It depends on lighting, and the hand has to stay inside the box.
Add gestures without retraining
- SIFT features with a FLANN matcher compare the frame with a folder of saved gestures, so a new one, like a space, is just an image dropped in that folder.
- The match runs before the network, so a loose threshold can override a correct prediction.
