# yeseoung/i_can_see_your_voice architecture

> Architecture diagram of the GitHub repository yeseoung/i_can_see_your_voice, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-12). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/yeseoung/i_can_see_your_voice
- Repository: https://github.com/yeseoung/i_can_see_your_voice

## Overview

This repository is a Korean sign-language fingerspelling recognition prototype, not the web-based translation platform envisioned in the README. Its demonstrated user workflow captures webcam frames, extracts right-hand landmarks, normalizes them into a temporal sequence, runs a TFLite classifier, and overlays a predicted character. A separate script extracts features from labeled videos; datasets and trained model artifacts are present. Training details are limited to an unsampled notebook, so the training-to-model link is left unverified.

Main entry points: [`sing_lang_trans/webcam_test_model_tflite.py`](https://github.com/yeseoung/i_can_see_your_voice/blob/main/sing_lang_trans/webcam_test_model_tflite.py) (Live Test), [`sing_lang_trans/create_dataset_from_video.py`](https://github.com/yeseoung/i_can_see_your_voice/blob/main/sing_lang_trans/create_dataset_from_video.py) (Video Extractor), [`datasets`](https://github.com/yeseoung/i_can_see_your_voice/tree/main/datasets) (Saved Sequences), [`sing_lang_trans/train_hand_gesture.ipynb`](https://github.com/yeseoung/i_can_see_your_voice/blob/main/sing_lang_trans/train_hand_gesture.ipynb) (Training Notebook)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_recognition["Live Recognition"]
  node_webcam["Live Test"]
  node_classifier["TFLite Classifier"]
  node_overlay["Character Overlay"]
end

subgraph group_features["Vision Features"]
  node_holistic["Holistic Detector<br/>[holistic_module.py]"]
  node_normalizer["Vector Normalizer<br/>[utils.py]"]
end

subgraph group_data["Dataset Preparation"]
  node_video_corpus["Labeled Videos"]
  node_extractor["Video Extractor"]
  node_sequences[("Saved Sequences")]
end

subgraph group_models["Model Artifacts"]
  node_trainer["Training Notebook"]
  node_keras_model["Keras Model"]
  node_tflite_model["TFLite Model"]
end

node_user(("Webcam User"))

node_user -->|"provides frames"| node_webcam
node_webcam -->|"detects landmarks"| node_holistic
node_webcam -->|"normalizes landmarks"| node_normalizer
node_webcam -->|"predicts sequence"| node_classifier
node_classifier -->|"loads model"| node_tflite_model
node_webcam -->|"draws prediction"| node_overlay
node_video_corpus -->|"supplies videos"| node_extractor
node_extractor -->|"detects landmarks"| node_holistic
node_extractor -->|"normalizes landmarks"| node_normalizer
node_extractor -.->|"prepares sequences"| node_sequences
node_sequences -.->|"training input"| node_trainer
node_trainer -.->|"produces model"| node_keras_model
node_keras_model -.->|"converted artifact"| node_tflite_model

click node_webcam "https://github.com/yeseoung/i_can_see_your_voice/blob/main/sing_lang_trans/webcam_test_model_tflite.py"
click node_classifier "https://github.com/yeseoung/i_can_see_your_voice/blob/main/sing_lang_trans/webcam_test_model_tflite.py"
click node_overlay "https://github.com/yeseoung/i_can_see_your_voice/blob/main/sing_lang_trans/webcam_test_model_tflite.py"
click node_holistic "https://github.com/yeseoung/i_can_see_your_voice/blob/main/sing_lang_trans/modules/holistic_module.py"
click node_normalizer "https://github.com/yeseoung/i_can_see_your_voice/blob/main/sing_lang_trans/modules/utils.py"
click node_video_corpus "https://github.com/yeseoung/i_can_see_your_voice/tree/main/datasets/output_video"
click node_extractor "https://github.com/yeseoung/i_can_see_your_voice/blob/main/sing_lang_trans/create_dataset_from_video.py"
click node_sequences "https://github.com/yeseoung/i_can_see_your_voice/tree/main/datasets"
click node_trainer "https://github.com/yeseoung/i_can_see_your_voice/blob/main/sing_lang_trans/train_hand_gesture.ipynb"
click node_keras_model "https://github.com/yeseoung/i_can_see_your_voice/blob/main/models/multi_hand_gesture_classifier.h5"
click node_tflite_model "https://github.com/yeseoung/i_can_see_your_voice/blob/main/models/multi_hand_gesture_classifier.tflite"

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_webcam,node_classifier,node_overlay,node_user toneBlue
class node_holistic,node_normalizer toneAmber
class node_video_corpus,node_extractor,node_sequences toneMint
class node_trainer,node_keras_model,node_tflite_model toneRose
```

## Components

### Live Recognition

- [Live Test](https://github.com/yeseoung/i_can_see_your_voice/blob/main/sing_lang_trans/webcam_test_model_tflite.py): `sing_lang_trans/webcam_test_model_tflite.py`
- [TFLite Classifier](https://github.com/yeseoung/i_can_see_your_voice/blob/main/sing_lang_trans/webcam_test_model_tflite.py): `sing_lang_trans/webcam_test_model_tflite.py`
- [Character Overlay](https://github.com/yeseoung/i_can_see_your_voice/blob/main/sing_lang_trans/webcam_test_model_tflite.py): `sing_lang_trans/webcam_test_model_tflite.py`

### Vision Features

- [Holistic Detector](https://github.com/yeseoung/i_can_see_your_voice/blob/main/sing_lang_trans/modules/holistic_module.py): `sing_lang_trans/modules/holistic_module.py`
- [Vector Normalizer](https://github.com/yeseoung/i_can_see_your_voice/blob/main/sing_lang_trans/modules/utils.py): `sing_lang_trans/modules/utils.py`

### Dataset Preparation

- [Labeled Videos](https://github.com/yeseoung/i_can_see_your_voice/tree/main/datasets/output_video): `datasets/output_video`
- [Video Extractor](https://github.com/yeseoung/i_can_see_your_voice/blob/main/sing_lang_trans/create_dataset_from_video.py): `sing_lang_trans/create_dataset_from_video.py`
- [Saved Sequences](https://github.com/yeseoung/i_can_see_your_voice/tree/main/datasets): `datasets`

### Model Artifacts

- [Training Notebook](https://github.com/yeseoung/i_can_see_your_voice/blob/main/sing_lang_trans/train_hand_gesture.ipynb): `sing_lang_trans/train_hand_gesture.ipynb`
- [Keras Model](https://github.com/yeseoung/i_can_see_your_voice/blob/main/models/multi_hand_gesture_classifier.h5): `models/multi_hand_gesture_classifier.h5`
- [TFLite Model](https://github.com/yeseoung/i_can_see_your_voice/blob/main/models/multi_hand_gesture_classifier.tflite): `models/multi_hand_gesture_classifier.tflite`

### Other components

- **Webcam User**

## Connections

- Webcam User → Live Test: provides frames (evidence: `sing_lang_trans/webcam_test_model_tflite.py`)
- Live Test → Holistic Detector: detects landmarks (evidence: `sing_lang_trans/webcam_test_model_tflite.py`)
- Live Test → Vector Normalizer: normalizes landmarks (evidence: `sing_lang_trans/webcam_test_model_tflite.py`)
- Live Test → TFLite Classifier: predicts sequence (evidence: `sing_lang_trans/webcam_test_model_tflite.py`)
- TFLite Classifier → TFLite Model: loads model (evidence: `sing_lang_trans/webcam_test_model_tflite.py`)
- Live Test → Character Overlay: draws prediction (evidence: `sing_lang_trans/webcam_test_model_tflite.py`)
- Labeled Videos → Video Extractor: supplies videos (evidence: `sing_lang_trans/create_dataset_from_video.py`)
- Video Extractor → Holistic Detector: detects landmarks (evidence: `sing_lang_trans/create_dataset_from_video.py`)
- Video Extractor → Vector Normalizer: normalizes landmarks (evidence: `sing_lang_trans/create_dataset_from_video.py`)
- Video Extractor → Saved Sequences: prepares sequences
- Saved Sequences → Training Notebook: training input
- Training Notebook → Keras Model: produces model
- Keras Model → TFLite Model: converted artifact
