# yuvarajakkole/voicegest architecture

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

- Interactive diagram: https://gitdiagram.com/yuvarajakkole/voicegest
- Repository: https://github.com/yuvarajakkole/voicegest

## Overview

VoiceGest combines a Streamlit control center, a voice-command assistant, and camera-based gesture control; a standalone gesture-driven virtual keyboard is also present. The main user workflow is selecting voice or gesture mode, then issuing a command or showing a gesture for an action. The assistant excerpt shows intent actions and pending multi-turn prompts, while the gesture script separates recognition from desktop control. Source excerpts are partial, so links to unsampled assistant internals and optional integrations are omitted unless documented or directly shown.

Main entry points: [`NEWGEST.py`](https://github.com/yuvarajakkole/voicegest/blob/main/NEWGEST.py) (Gesture Runtime), [`ui_app.py`](https://github.com/yuvarajakkole/voicegest/blob/main/ui_app.py) (Control Center), [`delta_V_S/delta_assistant.py`](https://github.com/yuvarajakkole/voicegest/blob/main/delta_V_S/delta_assistant.py) (Assistant Actions), [`virtual_keyboard.py`](https://github.com/yuvarajakkole/voicegest/blob/main/virtual_keyboard.py) (Gesture Keyboard)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_control["App Control"]
  node_ui["Control Center<br/>[ui_app.py]"]
  node_manual["Gesture Manual"]
end

subgraph group_voice["Voice Assistant"]
  node_assistant["Voice Assistant<br/>[delta_assistant.py]"]
  node_intent["Intent &amp; Pending Flow<br/>[delta_assistant.py]"]
  node_voice_actions["Assistant Actions<br/>[delta_assistant.py]"]
end

subgraph group_gesture["Gesture Control"]
  node_gesture_script["Gesture Runtime<br/>[NEWGEST.py]"]
  node_recognizer["Hand Recognizer<br/>[NEWGEST.py]"]
  node_controller["Hand Controller<br/>[NEWGEST.py]"]
end

subgraph group_keyboard["Virtual Keyboard"]
  node_keyboard["Gesture Keyboard"]
end

node_user(("User"))
node_weather["Weather API"]
node_news["News API"]
node_browser["Browser &amp; Email Client"]
node_desktop["Desktop Controls"]
node_camera(("Camera"))

node_user -->|"selects mode"| node_ui
node_ui -->|"starts process"| node_assistant
node_ui -->|"starts process"| node_gesture_script
node_ui -->|"presents manual"| node_manual
node_user -.->|"issues commands"| node_assistant
node_assistant -->|"classifies input"| node_intent
node_intent -->|"dispatches intent"| node_voice_actions
node_voice_actions -->|"requests forecast"| node_weather
node_voice_actions -->|"fetches headlines"| node_news
node_voice_actions -->|"opens link"| node_browser
node_assistant -->|"launches gesture mode"| node_gesture_script
node_camera -->|"provides frames"| node_gesture_script
node_gesture_script -->|"creates recognizer"| node_recognizer
node_gesture_script -->|"creates controller"| node_controller
node_recognizer -->|"supplies gestures"| node_controller
node_controller -->|"performs actions"| node_desktop
node_camera -->|"provides frames"| node_keyboard
node_keyboard -->|"sends keystrokes"| node_desktop

click node_ui "https://github.com/yuvarajakkole/voicegest/blob/main/ui_app.py"
click node_manual "https://github.com/yuvarajakkole/voicegest/blob/main/userGuideForGesture.pdf"
click node_assistant "https://github.com/yuvarajakkole/voicegest/blob/main/delta_V_S/delta_assistant.py"
click node_intent "https://github.com/yuvarajakkole/voicegest/blob/main/delta_V_S/delta_assistant.py"
click node_voice_actions "https://github.com/yuvarajakkole/voicegest/blob/main/delta_V_S/delta_assistant.py"
click node_gesture_script "https://github.com/yuvarajakkole/voicegest/blob/main/NEWGEST.py"
click node_recognizer "https://github.com/yuvarajakkole/voicegest/blob/main/NEWGEST.py"
click node_controller "https://github.com/yuvarajakkole/voicegest/blob/main/NEWGEST.py"
click node_keyboard "https://github.com/yuvarajakkole/voicegest/blob/main/virtual_keyboard.py"

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_ui,node_manual,node_user,node_browser toneBlue
class node_assistant,node_intent,node_voice_actions toneAmber
class node_gesture_script,node_recognizer,node_controller,node_weather,node_news toneMint
class node_keyboard toneRose
class node_desktop,node_camera toneIndigo
```

## Components

### App Control

- [Control Center](https://github.com/yuvarajakkole/voicegest/blob/main/ui_app.py): `ui_app.py`
- [Gesture Manual](https://github.com/yuvarajakkole/voicegest/blob/main/userGuideForGesture.pdf): `userGuideForGesture.pdf`

### Voice Assistant

- [Voice Assistant](https://github.com/yuvarajakkole/voicegest/blob/main/delta_V_S/delta_assistant.py): `delta_V_S/delta_assistant.py`
- [Intent & Pending Flow](https://github.com/yuvarajakkole/voicegest/blob/main/delta_V_S/delta_assistant.py): `delta_V_S/delta_assistant.py`
- [Assistant Actions](https://github.com/yuvarajakkole/voicegest/blob/main/delta_V_S/delta_assistant.py): `delta_V_S/delta_assistant.py`

### Gesture Control

- [Gesture Runtime](https://github.com/yuvarajakkole/voicegest/blob/main/NEWGEST.py): `NEWGEST.py`
- [Hand Recognizer](https://github.com/yuvarajakkole/voicegest/blob/main/NEWGEST.py): `NEWGEST.py`
- [Hand Controller](https://github.com/yuvarajakkole/voicegest/blob/main/NEWGEST.py): `NEWGEST.py`

### Virtual Keyboard

- [Gesture Keyboard](https://github.com/yuvarajakkole/voicegest/blob/main/virtual_keyboard.py): `virtual_keyboard.py`

### Other components

- **User**
- **Weather API**
- **News API**
- **Browser & Email Client**
- **Desktop Controls**
- **Camera**

## Connections

- User → Control Center: selects mode (evidence: `ui_app.py`)
- Control Center → Voice Assistant: starts process (evidence: `ui_app.py`)
- Control Center → Gesture Runtime: starts process (evidence: `ui_app.py`)
- Control Center → Gesture Manual: presents manual (evidence: `ui_app.py`)
- User → Voice Assistant: issues commands
- Voice Assistant → Intent & Pending Flow: classifies input (evidence: `delta_V_S/delta_assistant.py`)
- Intent & Pending Flow → Assistant Actions: dispatches intent (evidence: `delta_V_S/delta_assistant.py`)
- Assistant Actions → Weather API: requests forecast (evidence: `delta_V_S/delta_assistant.py`)
- Assistant Actions → News API: fetches headlines (evidence: `delta_V_S/delta_assistant.py`)
- Assistant Actions → Browser & Email Client: opens link (evidence: `delta_V_S/delta_assistant.py`)
- Voice Assistant → Gesture Runtime: launches gesture mode (evidence: `delta_V_S/delta_assistant.py`)
- Camera → Gesture Runtime: provides frames (evidence: `NEWGEST.py`)
- Gesture Runtime → Hand Recognizer: creates recognizer (evidence: `NEWGEST.py`)
- Gesture Runtime → Hand Controller: creates controller (evidence: `NEWGEST.py`)
- Hand Recognizer → Hand Controller: supplies gestures (evidence: `NEWGEST.py`)
- Hand Controller → Desktop Controls: performs actions (evidence: `NEWGEST.py`)
- Camera → Gesture Keyboard: provides frames (evidence: `virtual_keyboard.py`)
- Gesture Keyboard → Desktop Controls: sends keystrokes (evidence: `virtual_keyboard.py`)
