# kilian2113/vc architecture

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

- Interactive diagram: https://gitdiagram.com/kilian2113/vc
- Repository: https://github.com/kilian2113/vc

## Overview

This repository is a collection of computer-vision course practices, not a single application. The documented student workflow is to work through practice notebooks covering image primitives, edges, contours, object detection, and biometrics. Practice 4 also includes OCR/VLM evaluation and YOLO/RT-DETR work; its sampled helpers convert YOLO annotations to COCO and load RT-DETR models. The notebooks’ internal execution paths were not sampled, so edges between them and those helpers are omitted.

Main entry points: [`P4/yolo_a_coco.py`](https://github.com/kilian2113/vc/blob/main/P4/yolo_a_coco.py) (YOLO to COCO), [`P4/load_rtdetr.py`](https://github.com/kilian2113/vc/blob/main/P4/load_rtdetr.py) (RT-DETR loader), [`P1/VC_P1.ipynb`](https://github.com/kilian2113/vc/blob/main/P1/VC_P1.ipynb) (OpenCV primitives), [`P2/VC_P2.ipynb`](https://github.com/kilian2113/vc/blob/main/P2/VC_P2.ipynb) (Edge detection)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_classical["Classical vision"]
  node_p1["OpenCV primitives<br/>[VC_P1.ipynb]"]
  node_p2["Edge detection<br/>[VC_P2.ipynb]"]
  node_p3["Contour detection<br/>[VC_P3.ipynb]"]
end

subgraph group_detection["Detection and OCR"]
  node_p4["Vehicle/person detection<br/>[VC_P4.ipynb]"]
  node_yolo_training["YOLO training"]
  node_rtdetr_practice["RT-DETR practice<br/>[RT-DETR.ipynb]"]
  node_ocr_vlm["OCR and VLM<br/>[OCR_vs_VLM.ipynb]"]
  node_yolo_converter["YOLO to COCO<br/>[yolo_a_coco.py]"]
  node_rtdetr_loader["RT-DETR loader<br/>[load_rtdetr.py]"]
end

subgraph group_biometrics["Biometrics"]
  node_p5["Biometrics"]
end

node_student(("Student"))
node_final_project["Course project"]

node_student -->|"works through"| node_p1
node_student -->|"works through"| node_p2
node_student -->|"works through"| node_p3
node_student -->|"works through"| node_p4
node_student -->|"works through"| node_p5
node_student -->|"undertakes"| node_final_project
node_yolo_converter -->|"writes COCO annotations"| node_yolo_converter
node_rtdetr_loader -->|"loads model and postprocessor"| node_rtdetr_loader

click node_p1 "https://github.com/kilian2113/vc/blob/main/P1/VC_P1.ipynb"
click node_p2 "https://github.com/kilian2113/vc/blob/main/P2/VC_P2.ipynb"
click node_p3 "https://github.com/kilian2113/vc/blob/main/P3/VC_P3.ipynb"
click node_p4 "https://github.com/kilian2113/vc/blob/main/P4/VC_P4.ipynb"
click node_yolo_training "https://github.com/kilian2113/vc/blob/main/P4/Entrenamiento_YOLO.ipynb"
click node_rtdetr_practice "https://github.com/kilian2113/vc/blob/main/P4/RT-DETR.ipynb"
click node_ocr_vlm "https://github.com/kilian2113/vc/blob/main/P4/OCR_vs_VLM.ipynb"
click node_yolo_converter "https://github.com/kilian2113/vc/blob/main/P4/yolo_a_coco.py"
click node_rtdetr_loader "https://github.com/kilian2113/vc/blob/main/P4/load_rtdetr.py"
click node_p5 "https://github.com/kilian2113/vc/blob/main/P5/Entrenamiento.ipynb"

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_p1,node_p2,node_p3 toneBlue
class node_p4,node_yolo_training,node_rtdetr_practice,node_ocr_vlm,node_yolo_converter,node_rtdetr_loader toneAmber
class node_p5 toneMint
class node_student,node_final_project toneIndigo
```

## Components

### Classical vision

- [OpenCV primitives](https://github.com/kilian2113/vc/blob/main/P1/VC_P1.ipynb): `P1/VC_P1.ipynb`
- [Edge detection](https://github.com/kilian2113/vc/blob/main/P2/VC_P2.ipynb): `P2/VC_P2.ipynb`
- [Contour detection](https://github.com/kilian2113/vc/blob/main/P3/VC_P3.ipynb): `P3/VC_P3.ipynb`

### Detection and OCR

- [Vehicle/person detection](https://github.com/kilian2113/vc/blob/main/P4/VC_P4.ipynb): `P4/VC_P4.ipynb`
- [YOLO training](https://github.com/kilian2113/vc/blob/main/P4/Entrenamiento_YOLO.ipynb): `P4/Entrenamiento_YOLO.ipynb`
- [RT-DETR practice](https://github.com/kilian2113/vc/blob/main/P4/RT-DETR.ipynb): `P4/RT-DETR.ipynb`
- [OCR and VLM](https://github.com/kilian2113/vc/blob/main/P4/OCR_vs_VLM.ipynb): `P4/OCR_vs_VLM.ipynb`
- [YOLO to COCO](https://github.com/kilian2113/vc/blob/main/P4/yolo_a_coco.py): `P4/yolo_a_coco.py`
- [RT-DETR loader](https://github.com/kilian2113/vc/blob/main/P4/load_rtdetr.py): `P4/load_rtdetr.py`

### Biometrics

- [Biometrics](https://github.com/kilian2113/vc/blob/main/P5/Entrenamiento.ipynb): `P5/Entrenamiento.ipynb`

### Other components

- **Student**
- **Course project**

## Connections

- Student → OpenCV primitives: works through (evidence: `README.md`)
- Student → Edge detection: works through (evidence: `README.md`)
- Student → Contour detection: works through (evidence: `README.md`)
- Student → Vehicle/person detection: works through (evidence: `README.md`)
- Student → Biometrics: works through (evidence: `README.md`)
- Student → Course project: undertakes (evidence: `README.md`)
- YOLO to COCO → YOLO to COCO: writes COCO annotations (evidence: `P4/yolo_a_coco.py`)
- RT-DETR loader → RT-DETR loader: loads model and postprocessor (evidence: `P4/load_rtdetr.py`)
