# chaitanyagudela2631/project-learnio architecture

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

- Interactive diagram: https://gitdiagram.com/chaitanyagudela2631/project-learnio
- Repository: https://github.com/chaitanyagudela2631/project-learnio

## Overview

LEARNIO is a browser-based letter-tracing learning app. The user starts the camera and traces a prompted letter; hand landmarks drive fingertip stroke tracking, and a pause, lowered hand, or manual check triggers template recognition. The matched letter and correctness feedback appear in the interface. The README describes the entire implementation as index.html; no source excerpts were available, so relationships below are based on documented behavior only.

Main entry points: [`index.html`](https://github.com/chaitanyagudela2631/project-learnio/blob/main/index.html) (Tracing interface)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_interface["Learning interface"]
  node_ui["Tracing interface<br/>[index.html]"]
  node_feedback["Match and star feedback<br/>[index.html]"]
end

subgraph group_tracking["Camera tracking"]
  node_camera["Webcam stream<br/>[index.html]"]
  node_landmarks["Hand landmarks<br/>[index.html]"]
  node_fingertip["Fingertip stroke<br/>[index.html]"]
end

subgraph group_recognition["Letter recognition"]
  node_recognizer["Unistroke recognizer<br/>[index.html]"]
  node_templates["Letter templates<br/>[index.html]"]
end

node_learner(("Learner"))
node_mediapipe["MediaPipe HandLandmarker"]

node_learner -->|"traces letter"| node_ui
node_ui -->|"requests access"| node_camera
node_camera -->|"provides live stream"| node_mediapipe
node_mediapipe -->|"finds landmarks"| node_landmarks
node_landmarks -->|"tracks fingertip"| node_fingertip
node_fingertip -->|"submits stroke"| node_recognizer
node_ui -->|"manual check"| node_recognizer
node_recognizer -->|"compares shape"| node_templates
node_recognizer -->|"returns match"| node_feedback
node_feedback -->|"shows result"| node_ui

click node_ui "https://github.com/chaitanyagudela2631/project-learnio/blob/main/index.html"
click node_camera "https://github.com/chaitanyagudela2631/project-learnio/blob/main/index.html"
click node_landmarks "https://github.com/chaitanyagudela2631/project-learnio/blob/main/index.html"
click node_fingertip "https://github.com/chaitanyagudela2631/project-learnio/blob/main/index.html"
click node_recognizer "https://github.com/chaitanyagudela2631/project-learnio/blob/main/index.html"
click node_templates "https://github.com/chaitanyagudela2631/project-learnio/blob/main/index.html"
click node_feedback "https://github.com/chaitanyagudela2631/project-learnio/blob/main/index.html"

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_feedback toneBlue
class node_camera,node_landmarks,node_fingertip toneAmber
class node_recognizer,node_templates,node_mediapipe toneMint
class node_learner toneIndigo
```

## Components

### Learning interface

- [Tracing interface](https://github.com/chaitanyagudela2631/project-learnio/blob/main/index.html): `index.html`
- [Match and star feedback](https://github.com/chaitanyagudela2631/project-learnio/blob/main/index.html): `index.html`

### Camera tracking

- [Webcam stream](https://github.com/chaitanyagudela2631/project-learnio/blob/main/index.html): `index.html`
- [Hand landmarks](https://github.com/chaitanyagudela2631/project-learnio/blob/main/index.html): `index.html`
- [Fingertip stroke](https://github.com/chaitanyagudela2631/project-learnio/blob/main/index.html): `index.html`

### Letter recognition

- [Unistroke recognizer](https://github.com/chaitanyagudela2631/project-learnio/blob/main/index.html): `index.html`
- [Letter templates](https://github.com/chaitanyagudela2631/project-learnio/blob/main/index.html): `index.html`

### Other components

- **Learner**
- **MediaPipe HandLandmarker**

## Connections

- Learner → Tracing interface: traces letter (evidence: `README.md`)
- Tracing interface → Webcam stream: requests access (evidence: `README.md`)
- Webcam stream → MediaPipe HandLandmarker: provides live stream (evidence: `README.md`)
- MediaPipe HandLandmarker → Hand landmarks: finds landmarks (evidence: `README.md`)
- Hand landmarks → Fingertip stroke: tracks fingertip (evidence: `README.md`)
- Fingertip stroke → Unistroke recognizer: submits stroke (evidence: `README.md`)
- Tracing interface → Unistroke recognizer: manual check (evidence: `README.md`)
- Unistroke recognizer → Letter templates: compares shape (evidence: `README.md`)
- Unistroke recognizer → Match and star feedback: returns match (evidence: `README.md`)
- Match and star feedback → Tracing interface: shows result (evidence: `README.md`)
