# kbhavaniprasad/sign-language-to-text-and-speech-conversion-1- architecture

> Architecture diagram of the GitHub repository kbhavaniprasad/sign-language-to-text-and-speech-conversion-1-, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-09). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/kbhavaniprasad/sign-language-to-text-and-speech-conversion-1-
- Repository: https://github.com/kbhavaniprasad/sign-language-to-text-and-speech-conversion-1-

## Overview

This repository is a webcam-based sign-language-to-text-and-speech application, with separate scripts for collecting hand-sign images. The documented user flow starts in `final_pred.py`, where a user performs signs and uses an open-five-fingers gesture to add a symbol to a sentence. The README confirms camera display and text-and-speech output, but `final_pred.py` itself was not sampled, so its internal processing and output wiring are represented only at a high level. The collection scripts and model-loading behavior are grounded in sampled excerpts.

Main entry points: [`final_pred.py`](https://github.com/kbhavaniprasad/sign-language-to-text-and-speech-conversion-1-/blob/master/final_pred.py) (Live Application), [`data_collection_final.py`](https://github.com/kbhavaniprasad/sign-language-to-text-and-speech-conversion-1-/blob/master/data_collection_final.py) (Skeleton Capture), [`prediction_wo_gui.py`](https://github.com/kbhavaniprasad/sign-language-to-text-and-speech-conversion-1-/blob/master/prediction_wo_gui.py) (GUI-free Predictor), [`data_collection_binary.py`](https://github.com/kbhavaniprasad/sign-language-to-text-and-speech-conversion-1-/blob/master/data_collection_binary.py) (Binary Image Capture)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_app["Sign Translator"]
  node_application["Live Application<br/>[final_pred.py]"]
  node_sign_decode["Sign Recognition<br/>[final_pred.py]"]
  node_sentence["Sentence and Speech<br/>[final_pred.py]"]
end

subgraph group_collection["Image Collection"]
  node_binary_capture["Binary Image Capture"]
  node_skeleton_capture["Skeleton Capture"]
  node_image_set[("A–Z Image Set<br/>[AtoZ_3.1]")]
end

subgraph group_assets["Recognition Assets"]
  node_sign_model["Sign Model"]
  node_gui_free_predictor["GUI-free Predictor"]
end

subgraph group_support["Runtime Support"]
  node_dependencies["Runtime Libraries<br/>[requirements.txt]"]
end

node_user(("Signer"))
node_camera["Webcam"]
node_output["Text and Audio"]

node_user -->|"performs signs"| node_application
node_application -->|"shows feed"| node_camera
node_application -.->|"processes signs"| node_sign_decode
node_sign_decode -->|"adds symbols"| node_sentence
node_sentence -->|"produces text and speech"| node_output
node_user -->|"signals next"| node_sentence
node_binary_capture -->|"reads frames"| node_camera
node_skeleton_capture -->|"reads frames"| node_camera
node_skeleton_capture -->|"writes images"| node_image_set
node_gui_free_predictor -->|"reads frames"| node_camera
node_gui_free_predictor -->|"loads model"| node_sign_model

click node_application "https://github.com/kbhavaniprasad/sign-language-to-text-and-speech-conversion-1-/blob/master/final_pred.py"
click node_sign_decode "https://github.com/kbhavaniprasad/sign-language-to-text-and-speech-conversion-1-/blob/master/final_pred.py"
click node_sentence "https://github.com/kbhavaniprasad/sign-language-to-text-and-speech-conversion-1-/blob/master/final_pred.py"
click node_binary_capture "https://github.com/kbhavaniprasad/sign-language-to-text-and-speech-conversion-1-/blob/master/data_collection_binary.py"
click node_skeleton_capture "https://github.com/kbhavaniprasad/sign-language-to-text-and-speech-conversion-1-/blob/master/data_collection_final.py"
click node_image_set "https://github.com/kbhavaniprasad/sign-language-to-text-and-speech-conversion-1-/tree/master/AtoZ_3.1"
click node_sign_model "https://github.com/kbhavaniprasad/sign-language-to-text-and-speech-conversion-1-/blob/master/cnn8grps_rad1_model.h5"
click node_gui_free_predictor "https://github.com/kbhavaniprasad/sign-language-to-text-and-speech-conversion-1-/blob/master/prediction_wo_gui.py"
click node_dependencies "https://github.com/kbhavaniprasad/sign-language-to-text-and-speech-conversion-1-/blob/master/requirements.txt"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_application,node_sign_decode,node_sentence toneBlue
class node_binary_capture,node_skeleton_capture,node_image_set toneAmber
class node_sign_model,node_gui_free_predictor toneMint
class node_dependencies toneRose
class node_user,node_camera,node_output toneIndigo
```

## Components

### Sign Translator

- [Live Application](https://github.com/kbhavaniprasad/sign-language-to-text-and-speech-conversion-1-/blob/master/final_pred.py): `final_pred.py`
- [Sign Recognition](https://github.com/kbhavaniprasad/sign-language-to-text-and-speech-conversion-1-/blob/master/final_pred.py): `final_pred.py`
- [Sentence and Speech](https://github.com/kbhavaniprasad/sign-language-to-text-and-speech-conversion-1-/blob/master/final_pred.py): `final_pred.py`

### Image Collection

- [Binary Image Capture](https://github.com/kbhavaniprasad/sign-language-to-text-and-speech-conversion-1-/blob/master/data_collection_binary.py): `data_collection_binary.py`
- [Skeleton Capture](https://github.com/kbhavaniprasad/sign-language-to-text-and-speech-conversion-1-/blob/master/data_collection_final.py): `data_collection_final.py`
- [A–Z Image Set](https://github.com/kbhavaniprasad/sign-language-to-text-and-speech-conversion-1-/tree/master/AtoZ_3.1): `AtoZ_3.1`

### Recognition Assets

- [Sign Model](https://github.com/kbhavaniprasad/sign-language-to-text-and-speech-conversion-1-/blob/master/cnn8grps_rad1_model.h5): `cnn8grps_rad1_model.h5`
- [GUI-free Predictor](https://github.com/kbhavaniprasad/sign-language-to-text-and-speech-conversion-1-/blob/master/prediction_wo_gui.py): `prediction_wo_gui.py`

### Runtime Support

- [Runtime Libraries](https://github.com/kbhavaniprasad/sign-language-to-text-and-speech-conversion-1-/blob/master/requirements.txt): `requirements.txt`

### Other components

- **Signer**
- **Webcam**
- **Text and Audio**

## Connections

- Signer → Live Application: performs signs (evidence: `README.md`)
- Live Application → Webcam: shows feed (evidence: `README.md`)
- Live Application → Sign Recognition: processes signs
- Sign Recognition → Sentence and Speech: adds symbols (evidence: `README.md`)
- Sentence and Speech → Text and Audio: produces text and speech (evidence: `README.md`)
- Signer → Sentence and Speech: signals next (evidence: `README.md`)
- Binary Image Capture → Webcam: reads frames (evidence: `data_collection_binary.py`)
- Skeleton Capture → Webcam: reads frames (evidence: `data_collection_final.py`)
- Skeleton Capture → A–Z Image Set: writes images (evidence: `data_collection_final.py`)
- GUI-free Predictor → Webcam: reads frames (evidence: `prediction_wo_gui.py`)
- GUI-free Predictor → Sign Model: loads model (evidence: `prediction_wo_gui.py`)
