Skip to content
VaniSign
Telugu-first speech recognition214-entry ISL mappingRes-BiLSTM-AM research branch

Telugu speech in.
Indian Sign Language out.

Telugu speech becomes an ordered ISL gloss sequence and matching sign frames — with a text fallback that never drops a word.

VaniSign · academic capstone · implementation of the ICSCSA 2025 paper · read the research notes

Illustrative runtime · sign frames require a corpusTelugu ASR · ISL gloss · sign playback
Project snapshot
214mapping entries143acoustic features6test modules~10 fpsframe playback0 GPUruntime
The gap

A transcript is not a translation.

Most speech tools stop when the words appear on screen. For a Deaf Telugu speaker, the meaning has to become visual — and ISL does not follow Telugu word for word.

01

Telugu is underserved.

Assistive speech tooling is overwhelmingly English-first. Telugu needs its own recognition path, its own vocabulary, and its own route into sign language.

A language-specific problem
02

ISL is not word-for-word.

Telugu and Indian Sign Language differ in grammar and structure. A usable system has to produce an ordered gloss sequence, not a subtitle with the same words in the same order.

Grammar, not substitution
03

A missing sign cannot erase a word.

Corpora are never complete. When a sign has no frames, the system must still show the meaning. Silently dropping the token would hide part of the sentence.

Fallback is a feature
Typical speech tool
మీరు ఎలా ఉన్నారు?
Transcript only

Words on a screen. No ISL order, no visual equivalent, and no way to carry the meaning for someone who relies on signing.

VaniSign
how_are_you
Gloss + playback

An ordered ISL gloss, a sign frame sequence, and a readable text card for anything the corpus does not contain.

The pipeline

Five steps from microphone to moving sign.

One SpeechToSignPipeline object orchestrates the runtime. The GUI, CLI, and tests all call the same path, so behaviour cannot drift between interfaces.

Runtime map

Speech to sign, end to end

Mermaid · from docs
README.md · runtime path · fallback is a first-class branch
Research map

Audio to a sign class

Mermaid · from docs
PAPER_NOTES.md · dual features · Res-BiLSTM-AM · softmax
01

Capture

Speak into the microphone, upload WAV / MP3 / FLAC / OGG, or type Telugu directly. Audio is normalised to 16 kHz mono.

Mic · file · text
02

Recognise

Google Speech Recognition runs with te-IN and returns UTF-8 Telugu. The acoustic model branch is a separate, optional path.

Google ASR · te-IN
03

Translate

A curated 214-entry dictionary runs first. An English pivot and fuzzy stem matching extend coverage when the direct lookup misses.

Direct → pivot → stem
04

Sequence

Each gloss resolves to a frame directory, sorted by frame number. Frames are loaded lazily and cached after the first decode.

.jpg · .jpeg · .png
05

Animate

A single Tk clock plays frames at roughly 10 fps. Missing signs hold a readable text card for about 900 ms before moving on.

~10 fps · 400 × 400
Fallback by design

A missing sign never deletes a word. If no frames exist for a gloss, the app renders the token as a text card and keeps the sequence moving.

Language layer

Dictionary first. Coverage second.

The translator is deliberately inspectable. Every token records how it was resolved, so the UI can distinguish a direct hit from a guess and a fallback.

01

Direct mapping

214 curated Telugu → ISL pairs. Deterministic, fast, and fully offline for entries in the dictionary.

02

English pivot

When the dictionary misses, the Telugu token is translated to English and matched against the corpus vocabulary. Broader reach, with some meaning loss.

03

Fuzzy & stem matching

going → go, happily → happy, plus conservative substring matching for near-misses.

No match at all? The token becomes TEXT_<word> and renders as a text card. The sentence stays readable — that is the contract.
translate · te → islOffline OK
$ python app.py --translate "నమస్కారం ధన్యవాదాలు"

Telugu → ISL
Input: నమస్కారం ధన్యవాదాలు

  నమస్కారం        → hello_hi    [✓ direct]
  ధన్యవాదాలు      → thank       [✓ direct]

Gloss: hello_hi → thank
Animation: 0 ready, 2 text fallback(s)
           add a corpus to play the signs
16 kHz mono · UTF-8 Telugu214 curated entries
What I built

A complete runtime, not a concept render.

I built the pipeline, the trainable research model, the Tkinter interface, the data contracts, and the tests as one coherent project. Everything described here exists in the repository.

telugu_s2sl/pipeline.py

Runtime pipeline

One orchestration seam returns source text, token records, ISL glosses, and playback records as a single bundle. The GUI and CLI cannot drift because they call the same object.

GUICLITests
data/mappings/telugu_to_isl.json

Curated mapping

A hand-checked 214-entry Telugu → ISL dictionary, plus generated corpus lookups. The mapping is data, not code, so adding another sign language stays possible.

214 entriesJSON
telugu_s2sl/model/res_bilstm_am.py

Acoustic model

Dual features feed a residual BiLSTM with multi-head attention. The full training and inference path is implemented; no pretrained checkpoint is claimed.

143-D4 headsTF / Keras
telugu_s2sl/animation/corpus.py

Frame animator

Indexes sign directories, sorts frames by number, caches decoded images, and returns ordered playback records. Missing directories become text cards instead of crashes.

Lazy loadCache
telugu_s2sl/gui/app.py

Desktop app

A deliberately plain Tkinter window: record, upload, or type on the left; a 400 × 400 sign display and playback controls on the right. The animation stays the focus.

Tkinter~10 fps
tests/

Offline test suite

Six pytest modules cover features, translation, animation, the end-to-end pipeline, the model forward pass, and Telugu text helpers. No corpus or network required.

6 modulespytest
The research branch

Res-BiLSTM-AM, end to end.

A dual-feature acoustic branch with attention and residual connections, implemented in TensorFlow / Keras and kept separate from the lightweight runtime.

200 × 143
Model input
143
Features per frame
4
Attention heads
128 × 2
BiLSTM units
Feature contract143 TOTAL
MFCC + Δ + ΔΔ · 120Spectral · 4Spectral contrast · 7Chroma · 12
Adam 1e-3Sparse categorical CE75 / 25 splitEarly stopping

Honest boundary. No pretrained checkpoint ships with this repository. The paper reports ESTOI 97.2% on its own data; this implementation does not reproduce or claim those numbers.

Forward passTrainable
InputDual feature tensor
200 × 143
NormaliseLayer normalisation
per frame
ContextMulti-head attention+ residual
4 heads
SequenceBidirectional LSTM
128 × 2
DeepenResidual BiLSTM blockLN → ReLU → +
skip connection
ReduceGlobal average pooling
sequence → vector
ClassifyDense + dropout
256 · 0.3
OutputSoftmax over sign classes
N classes
The stack

Runs on a laptop. Trains on a GPU.

The desktop runtime needs no TensorFlow and no GPU. The research stack is optional — installed only when you want to train or classify with the acoustic model.

Runtime

No GPU
PythonLanguage runtime
3.10–3.12
TkinterDesktop interface
stdlib
NumPyArray + feature maths
1.24+
PillowFrame decoding
10.0+
imageioOptional GIF fallback
2.31+

Speech & language

Online path
SpeechRecognitionMicrophone + audio input
3.10+
PyAudioPlatform audio capture
system
Google ASRTelugu recognition
te-IN
librosaAudio decode + features
0.10+
SoundFileWAV I/O
0.12+
deep-translatorTelugu → English pivot
1.11+

Model & quality

Optional
TensorFlowModel + training
2.13+
KerasLayers + callbacks
2.13+
scikit-learnSplit + metrics
1.3+
tqdmTraining progress
4.65+
pytestOffline test suite
7.4+
16 kHz mono audio200 × 143 input214 curated mappings~10 fps playback400 × 400 displayText fallback
Run it locally

From clone to a running app.

Install the runtime, launch the Tkinter window, and speak or type Telugu. Add a word-level ISL corpus when you have one — without it, every sign becomes a readable text card.

Python 3.10+ · no GPU · Google ASR for live speech

$ git clone https://github.com/avesh-pathak/speech-to-sign-language$ cd speech-to-sign-language$ py -3.11 -m venv .venv$ .\.venv\Scripts\Activate.ps1$ pip install -r requirements.txt$ python app.py # inspect what the runtime sees$ python app.py --mode info
Mappings · signs · frames · ASR backendFallback ready
No ISL corpus? The app still starts in text-fallback mode.Corpus layout