# mounishvatti/pothole_detection_yolov8 architecture

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

- Interactive diagram: https://gitdiagram.com/mounishvatti/pothole_detection_yolov8
- Repository: https://github.com/mounishvatti/pothole_detection_yolov8

## Overview

This repository is a notebook-based pothole detection project. The documented workflow downloads a custom dataset from Roboflow, trains a YOLOv8 model, then runs prediction on video; the README also describes segmentation and tracking with IDs and trails. No notebook contents were provided, so the mapping of individual notebooks to these stages is uncertain, and only README-documented relationships are shown.

Main entry points: [`PotholeDetectionUsingYOLO.ipynb`](https://github.com/mounishvatti/pothole_detection_yolov8/blob/main/PotholeDetectionUsingYOLO.ipynb) (YOLO workflow)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_notebooks["Notebooks"]
  node_main_notebook["YOLO workflow"]
  node_copied_notebook["Copied notebook"]
  node_potholes_notebook["Potholes notebook<br/>[Potholes.ipynb]"]
end

subgraph group_services["External services"]
  node_roboflow["Roboflow"]
  node_dataset["Pothole dataset"]
  node_yolov8["YOLOv8"]
  node_video["Input video"]
end

node_user(("User"))

node_user -->|"runs workflow"| node_main_notebook
node_main_notebook -->|"requests dataset"| node_roboflow
node_roboflow -->|"provides dataset"| node_dataset
node_main_notebook -->|"trains model"| node_yolov8
node_main_notebook -->|"predicts on"| node_video
node_main_notebook -->|"segments and tracks"| node_yolov8

click node_main_notebook "https://github.com/mounishvatti/pothole_detection_yolov8/blob/main/PotholeDetectionUsingYOLO.ipynb"
click node_copied_notebook "https://github.com/mounishvatti/pothole_detection_yolov8/blob/main/Copy_of_PotholeDetectionUsingYOLO.ipynb"
click node_potholes_notebook "https://github.com/mounishvatti/pothole_detection_yolov8/blob/main/Potholes.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_main_notebook,node_copied_notebook,node_potholes_notebook,node_user toneBlue
class node_roboflow,node_dataset,node_yolov8,node_video toneAmber
```

## Components

### Notebooks

- [YOLO workflow](https://github.com/mounishvatti/pothole_detection_yolov8/blob/main/PotholeDetectionUsingYOLO.ipynb): `PotholeDetectionUsingYOLO.ipynb`
- [Copied notebook](https://github.com/mounishvatti/pothole_detection_yolov8/blob/main/Copy_of_PotholeDetectionUsingYOLO.ipynb): `Copy_of_PotholeDetectionUsingYOLO.ipynb`
- [Potholes notebook](https://github.com/mounishvatti/pothole_detection_yolov8/blob/main/Potholes.ipynb): `Potholes.ipynb`

### External services

- **Roboflow**
- **Pothole dataset**
- **YOLOv8**
- **Input video**

### Other components

- **User**

## Connections

- User → YOLO workflow: runs workflow (evidence: `README.md`)
- YOLO workflow → Roboflow: requests dataset (evidence: `README.md`)
- Roboflow → Pothole dataset: provides dataset (evidence: `README.md`)
- YOLO workflow → YOLOv8: trains model (evidence: `README.md`)
- YOLO workflow → Input video: predicts on (evidence: `README.md`)
- YOLO workflow → YOLOv8: segments and tracks (evidence: `README.md`)
