home / work / live sign: arabic sign language recognition

Open source

Live Sign: Arabic Sign Language recognition

Our Grade 12 capstone: real-time recognition of all 32 Arabic sign alphabet classes from a webcam, upgraded in 2026 to a Swin Transformer V2 at 99.41% validation accuracy.

Role
Capstone team member with Pavly Halim, STEM High School for Boys - 6th of October (Grade 12)
Stack
  • Python
  • Swin Transformer V2
  • MediaPipe
  • TensorFlow / Keras
  • OpenCV
  • Google Colab

The problem

Live Sign was our final capstone project in Grade 12 at STEM High School for Boys - 6th of October, built in early 2021. STEM capstones are built around one of Egypt's grand challenges, and ours was the barriers that isolate people with special needs and limit their chance to work.

Very few assistive tools exist for deaf people in the Arabic-speaking world, partly for lack of resources and partly because Arabic is hard to process. Live Sign set out to let an Arabic deaf person communicate on the go, with nothing more than a camera, by turning signs into Arabic text.

How it works

The system runs in four stages: capture, pre-processing, feature extraction, and recognition. Frames come from a webcam, the hand is cropped and resized, and a model predicts which of the 32 Arabic sign alphabet classes it shows, displayed as Arabic in real time.

It's trained on the ArASL dataset: 54,049 images of the Arabic sign alphabet performed by more than 40 people.

My part

On the capstone, I worked with Pavly on getting the recognition pipeline to actually run:

  • Wired in the models: added the trained hand-detection model (a frozen TensorFlow inference graph and its label map) and the trained sign-classification weights, so the live detector had what it needed to run.
  • Added face landmarks: brought in dlib's 68-point facial landmark predictor used by the landmark-based detection script.
  • Cleaned up setup: cut the requirements file from more than a hundred pinned packages down to what the project actually needs.
  • Fixed the live detectors: corrected how the hand detector's bounding box is read so the crop lands on the hand, pointed the landmark-based detector at the right model file, and tuned the live test's capture region, overlay colours, and window sizes.

In 2026 I also moved the project's license from MIT to GPL-3.0.

Two generations of the model

  • 2021, CNN: a compact VGG-style network with six convolutional layers on 64×64 images, trained on Google Colab with early stopping after 12 epochs, and run live with OpenCV.
  • 2026, Swin Transformer V2: an 86.9M-parameter Swin V2 Base pretrained on ImageNet-22K, fine-tuned in two phases (frozen base, then the top 30% of layers) on 256×256 images. The fixed bounding box was replaced with MediaPipe hand tracking that follows the hand with a smoothed box and skeleton overlay.

Result: the Swin V2 model reaches 99.41% validation accuracy across all 32 classes, with 12 classes at 100% and none below 96%.

What's next

The roadmap in the repo: support regional dialects such as Egyptian, Saudi, and Kuwaiti sign language; move from single letters to words and sentences with temporal models on video; and ship an on-device mobile app.

The code is open source under GPL-3.0 on GitHub.

← All work