Skip to content
SIGNOVA-TeamPublic

About

AI-powered autonomous service robot enabling real-time sign language recognition, bidirectional communication, and intelligent human-robot interaction.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

43 Commits

Folders and files

Repository files navigation

SIGNOVA β€” Sign Language & Multimodal Assistive Communication

CI/CD Pipeline Tests Python 3.12+ PyTorch Code Style: Ruff Security: Bandit License: CC-BY-NC-4.0

SIGNOVA bridges Arabic & American Sign Language and spoken language through Computer Vision, Deep Learning, and NLP β€” making assistive communication accessible for Arabic-speaking deaf and hard-of-hearing communities.


What is SIGNOVA?

SIGNOVA is an end-to-end research platform for sign language recognition and translation. It takes a live video stream or a recorded video clip, extracts hand and body landmarks, runs a trained deep learning model to decode sign language, and outputs natural spoken Arabic (or English) text.

πŸ“· Camera / Video
       β”‚
       β–Ό
πŸ–οΈ  Computer Vision   β†’  MediaPipe hand & body landmark extraction
       β”‚                  (126-D keypoints per frame)
       β–Ό
🧠  ML Recognition    β†’  BiLSTM / BiGRU + CTC decoder
       β”‚                  (ArabSign Β· Isharah-500 Β· How2Sign Β· KArSL-502)
       β–Ό
πŸ“  NLP Translation   β†’  Gloss β†’ Spoken Modern Standard Arabic + English
       β”‚                  (fuzzy match Β· Seq2Seq prompting)
       β–Ό
πŸ”Š  Output            β†’  Text display Β· Text-to-Speech Β· REST API

The 4 ML Tracks at a Glance

Track Dataset Sign Language Task Model Size
1 ArabSign Arabic (ArSL) Continuous recognition + NLP BiLSTM + CTC 9,335 samples Β· 50 sentences
2 Isharah-500 Arabic (ArSL) Continuous, signer-independent BiGRU + CTC 7,500 samples Β· 15 signers
3 How2Sign American (ASL) Continuous multimodal benchmark BiLSTM + CTC 35,263 sentences Β· 56 hours
4 KArSL-502 Arabic (ArSL) Isolated word recognition 1D CNN + BiGRU 75,095 samples Β· 502 classes

Warning

ADR-001 β€” Linguistic Separation Rule: ArabSign, Isharah-500, and KArSL-502 represent Arabic Sign Language and must never be relabeled or confused with Egyptian Sign Language (ESL). Each track has its own vocabulary, tokenizer, loss function, and evaluation. See docs/decisions/ADR_001_p2_datasets_evaluation.md.


Repository Structure

SIGNOVA/
β”‚
β”œβ”€β”€ πŸ“„ README.md                        ← You are here
β”œβ”€β”€ πŸ“„ pyproject.toml                   ← Ruff Β· Pytest Β· Bandit config
β”œβ”€β”€ πŸ“„ requirements.txt                 ← Core runtime deps (pandas, numpy)
β”œβ”€β”€ πŸ“„ requirements-dev.txt             ← Dev/CI deps (pytest, ruff, bandit)
β”‚
β”œβ”€β”€ πŸ“ ml/sign_language/                ← Track 1 & 3: ArabSign + How2Sign
β”‚   β”œβ”€β”€ src/
β”‚   β”‚   β”œβ”€β”€ model.py                    ← ContinuousSignBiLSTM architecture
β”‚   β”‚   β”œβ”€β”€ train.py                    ← CTC training loop
β”‚   β”‚   β”œβ”€β”€ inference.py                ← predict() + predict_video() API
β”‚   β”‚   β”œβ”€β”€ cv_interface.py             ← Live webcam streaming buffer
β”‚   β”‚   β”œβ”€β”€ nlp_interface.py            ← Gloss β†’ Arabic/English translator
β”‚   β”‚   β”œβ”€β”€ dataset.py                  ← PyTorch dataset loader
β”‚   β”‚   β”œβ”€β”€ preprocessing.py            ← Keypoint normalization & vocab
β”‚   β”‚   β”œβ”€β”€ evaluate.py                 ← WER Β· CER Β· Token Accuracy
β”‚   β”‚   └── video_extractor.py          ← MediaPipe landmark extractor
β”‚   β”œβ”€β”€ artifacts/
β”‚   β”‚   β”œβ”€β”€ arabsign/best_model.pth     ← Trained ArabSign weights
β”‚   β”‚   └── how2sign/best_model.pth     ← Trained How2Sign weights
β”‚   β”œβ”€β”€ configs/config.yaml             ← Hyperparameters
β”‚   β”œβ”€β”€ notebooks/                      ← Training & inspection notebooks
β”‚   β”œβ”€β”€ tests/                          ← 18 unit & integration tests
β”‚   └── README.md
β”‚
β”œβ”€β”€ πŸ“ isharah500/                      ← Track 2: Signer-Independent ArSL
β”‚   β”œβ”€β”€ src/                            ← BiGRU+CTC Β· hand-centric features
β”‚   β”œβ”€β”€ notebooks/                      ← Training Β· eval Β· error analysis
β”‚   β”œβ”€β”€ reports/                        ← SI benchmark Β· blank calibration
β”‚   β”œβ”€β”€ tests/                          ← 70+ unit tests
β”‚   └── README.md
β”‚
β”œβ”€β”€ πŸ“ karsl/                           ← Track 4: 502-class isolated ArSL
β”‚   β”œβ”€β”€ ml/
β”‚   β”‚   β”œβ”€β”€ src/preprocessing.py        ← 32Γ—150 pose+hand features
β”‚   β”‚   β”œβ”€β”€ artifacts/
β”‚   β”‚   β”‚   β”œβ”€β”€ cnn/best_cnn_502_pass_v1.pt   ← Trained CNN weights
β”‚   β”‚   β”‚   └── gru/best_gru_502_pass_v1.pt   ← Trained GRU weights
β”‚   β”‚   β”œβ”€β”€ integration/
β”‚   β”‚   β”‚   β”œβ”€β”€ karsl_cv_adapter.py     ← CV β†’ feature extraction bridge
β”‚   β”‚   β”‚   └── research_preview.py     ← Backend integration stub
β”‚   β”‚   β”œβ”€β”€ training/                   ← Reproducible training scripts
β”‚   β”‚   β”œβ”€β”€ tests/                      ← 10 unit & release tests
β”‚   β”‚   └── README.md
β”‚   β”œβ”€β”€ data/                           ← KArSL metadata, splits, QC
β”‚   β”œβ”€β”€ scripts/                        ← Dataset validation pipeline
β”‚   β”œβ”€β”€ tests/                          ← Dataset integrity tests
β”‚   └── README.md
β”‚
β”œβ”€β”€ πŸ“ wlasl/                           ← WLASL-2000 ASL baseline (reference)
β”‚   β”œβ”€β”€ data/                           ← Splits & metadata
β”‚   β”œβ”€β”€ docs/
β”‚   └── README.md
β”‚
β”œβ”€β”€ πŸ“ data/                            ← Canonical dataset metadata & CSVs
β”‚   β”œβ”€β”€ arabsign/
β”‚   β”‚   β”œβ”€β”€ metadata/
β”‚   β”‚   β”‚   β”œβ”€β”€ arabsign_canonical_metadata.csv   ← 9,335 records
β”‚   β”‚   β”‚   └── arabsign_sentences_mapping.csv    ← 50 glossβ†’Arabic mappings
β”‚   β”‚   └── splits/                     ← Signer-independent train/val/test
β”‚   β”œβ”€β”€ how2sign/
β”‚   β”‚   β”œβ”€β”€ metadata/                   ← 35,263 sentence records
β”‚   β”‚   └── splits/
β”‚   └── reports/                        ← Download manifests Β· QC reports
β”‚
β”œβ”€β”€ πŸ“ docs/                            ← Integration guides & decisions
β”‚   β”œβ”€β”€ CV_INTEGRATION_GUIDE.md         ← For the Computer Vision sub-team
β”‚   β”œβ”€β”€ NLP_INTEGRATION_GUIDE.md        ← For the NLP sub-team
β”‚   β”œβ”€β”€ dataset_card_arabsign.md        ← ArabSign dataset card
β”‚   β”œβ”€β”€ dataset_card_how2sign.md        ← How2Sign dataset card
β”‚   β”œβ”€β”€ ML_CLOUD_LINKS_AND_STREAMING.md ← Cloud training guide (Colab/Kaggle)
β”‚   └── decisions/
β”‚       └── ADR_001_p2_datasets_evaluation.md   ← Linguistic guardrails
β”‚
β”œβ”€β”€ πŸ“ notebooks/                       ← Root-level cloud training notebooks
β”‚   β”œβ”€β”€ cloud_ml_signova_colab.ipynb    ← ArabSign+How2Sign Colab notebook
β”‚   β”œβ”€β”€ cloud_ml_starter.ipynb          ← Quick-start cloud notebook
β”‚   └── train_isharah500_colab.ipynb    ← Isharah-500 Colab notebook
β”‚
β”œβ”€β”€ πŸ“ scripts/                         ← Automation & CI scripts
β”‚   β”œβ”€β”€ ci/
β”‚   β”‚   └── check_project_quality.py   ← 5-gate quality checker
β”‚   β”œβ”€β”€ data_pipeline/                  ← Metadata generation scripts
β”‚   └── export_p2_summary.py           ← Dataset stats exporter
β”‚
β”œβ”€β”€ πŸ“ tests/                           ← Root-level cross-dataset tests
β”‚   └── test_p2_datasets.py            ← Schema & integrity (7 tests)
β”‚
└── πŸ“ .github/workflows/
    β”œβ”€β”€ ci.yml                          ← Main CI: lint Β· security Β· tests
    └── karsl-ml.yml                    ← KArSL smoke tests (isolated env)

Quick Start

1. Clone & Install

git clone https://github.com/SIGNOVA-Team/SIGNOVA.git
cd SIGNOVA

python -m venv .venv
.venv\Scripts\activate        # Windows
# source .venv/bin/activate   # Linux / macOS

pip install -r requirements.txt
pip install -r requirements-dev.txt
pip install torch --index-url https://download.pytorch.org/whl/cpu   # CPU-only

2. Run All 126 Tests

pytest

Runs all unit and integration tests across all 4 tracks in one command.

3. Run Quality Gate (5/5 Checks)

python scripts/ci/check_project_quality.py

Validates: secrets scan Β· git hygiene Β· notebook health Β· ADR-001 linguistic rules Β· core deliverables.

4. Sign Language Video Inference (ArabSign β†’ Arabic Text)

from ml.sign_language.src.inference import predict_video

result = predict_video("path/to/sign_video.mp4", language="ar")

print("Glosses :", result["text"])
print("Arabic  :", result["spoken_arabic"])
print("English :", result["english_translation"])
print("Confidence:", result["confidence"])

5. Live Webcam Streaming

import cv2
from ml.sign_language.src.cv_interface import RealtimeCVStreamProcessor

processor = RealtimeCVStreamProcessor(language="ar", window_size=60, stride=15)
cap = cv2.VideoCapture(0)

while cap.isOpened():
    ret, frame = cap.read()
    if not ret:
        break
    prediction = processor.process_frame(frame)
    if prediction:
        print(f"[SIGNOVA] {prediction['spoken_arabic']}  ({prediction['confidence']:.2f})")
    cv2.imshow("SIGNOVA Live", frame)
    if cv2.waitKey(1) & 0xFF == ord("q"):
        break

cap.release()
cv2.destroyAllWindows()

6. KArSL-502 Isolated Sign Prediction

from karsl.ml.scripts.signova_predict_502 import KArSL502Predictor
import numpy as np

predictor = KArSL502Predictor()
# features: numpy array of shape (32, 150) β€” 32 frames Γ— 150 pose+hand features
features = np.zeros((32, 150), dtype=np.float32)
result = predictor.predict(features)
print(result["top_k"])   # top-3 Arabic sign labels with scores

Integration Guides for Sub-Teams

Team Guide What it covers
Computer Vision docs/CV_INTEGRATION_GUIDE.md RealtimeCVStreamProcessor Β· StreamingKeypointBuffer Β· extract_keypoints_from_video()
NLP docs/NLP_INTEGRATION_GUIDE.md GlossToTextTranslator Β· fuzzy matching Β· LLM prompt generation
Cloud Training docs/ML_CLOUD_LINKS_AND_STREAMING.md Google Colab / Kaggle setup Β· remote streaming strategy
Backend karsl/ml/integration/research_preview.py KArSL research candidate contract for backend integration

CI/CD Pipeline

Every push to any branch runs the full automated pipeline:

Job Tool What it checks
🎨 Lint & Formatting Ruff PEP8 · imports · style
πŸ›‘οΈ Security Audit Bandit Vulnerability scan
πŸ” Domain Guardrails Custom ADR-001 Β· secrets Β· notebook JSON
πŸ§ͺ Tests & Datasets Pytest 126 tests across all 4 tracks
🏁 CI Pipeline Gate Aggregate All 4 must pass

References

  • ArabSign β€” Hamzah Luqman, "ArabSign: A Multi-modality Dataset and Benchmark for Continuous Arabic Sign Language Recognition", IEEE FG 2023. [Website]
  • How2Sign β€” Amanda Duarte et al., "How2Sign: A Large-scale Multimodal Dataset for Continuous American Sign Language", CVPR 2021. [Website]
  • Isharah-500 β€” SIGNOVA Continuous Sign Language Benchmark, 2026.
  • KArSL β€” Sidig et al., "KArSL: Arabic Sign Language Dataset", ACM TALLIP 2021.
  • WLASL β€” Li et al., "Word-level Deep Sign Language Recognition from Video", WACV 2020.

About

AI-powered autonomous service robot enabling real-time sign language recognition, bidirectional communication, and intelligent human-robot interaction.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages