# codewithaarohi/speed-detection-of-vehicles architecture

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

- Interactive diagram: https://gitdiagram.com/codewithaarohi/speed-detection-of-vehicles
- Repository: https://github.com/codewithaarohi/speed-detection-of-vehicles

## Overview

This appears to be a small vehicle-speed-estimation project, with a notebook as the likely workflow entry point and `tracker.py` providing center-distance object ID tracking. The notebook and media files were not excerpted, and the README is empty, so their roles and connections are inferred from filenames only; dashed edges mark those uncertainties.

Main entry points: [`speed_estimate.ipynb`](https://github.com/codewithaarohi/speed-detection-of-vehicles/blob/main/speed_estimate.ipynb) (Speed estimation), [`highway.mp4`](https://github.com/codewithaarohi/speed-detection-of-vehicles/blob/main/highway.mp4) (Highway video), [`highway_mini.mp4`](https://github.com/codewithaarohi/speed-detection-of-vehicles/blob/main/highway_mini.mp4) (Mini video), [`tracker.py`](https://github.com/codewithaarohi/speed-detection-of-vehicles/blob/main/tracker.py) (Object tracker)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_user(("User"))
node_input_video["Highway video<br/>[highway.mp4]"]
node_mini_video["Mini video<br/>[highway_mini.mp4]"]
node_notebook["Speed estimation"]
node_tracker["Object tracker<br/>[tracker.py]"]
node_output_video["Output video<br/>[output.avi]"]

node_user -.->|"runs"| node_notebook
node_input_video -.->|"provides video"| node_notebook
node_mini_video -.->|"provides video"| node_notebook
node_notebook -.->|"uses tracking"| node_tracker
node_notebook -.->|"writes result"| node_output_video

click node_input_video "https://github.com/codewithaarohi/speed-detection-of-vehicles/blob/main/highway.mp4"
click node_mini_video "https://github.com/codewithaarohi/speed-detection-of-vehicles/blob/main/highway_mini.mp4"
click node_notebook "https://github.com/codewithaarohi/speed-detection-of-vehicles/blob/main/speed_estimate.ipynb"
click node_tracker "https://github.com/codewithaarohi/speed-detection-of-vehicles/blob/main/tracker.py"
click node_output_video "https://github.com/codewithaarohi/speed-detection-of-vehicles/blob/main/output.avi"

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_user toneBlue
class node_input_video,node_mini_video,node_notebook,node_tracker,node_output_video toneTeal
```

## Components

### Other components

- **User**
- [Highway video](https://github.com/codewithaarohi/speed-detection-of-vehicles/blob/main/highway.mp4): `highway.mp4`
- [Mini video](https://github.com/codewithaarohi/speed-detection-of-vehicles/blob/main/highway_mini.mp4): `highway_mini.mp4`
- [Speed estimation](https://github.com/codewithaarohi/speed-detection-of-vehicles/blob/main/speed_estimate.ipynb): `speed_estimate.ipynb`
- [Object tracker](https://github.com/codewithaarohi/speed-detection-of-vehicles/blob/main/tracker.py): `tracker.py`
- [Output video](https://github.com/codewithaarohi/speed-detection-of-vehicles/blob/main/output.avi): `output.avi`

## Connections

- User → Speed estimation: runs
- Highway video → Speed estimation: provides video
- Mini video → Speed estimation: provides video
- Speed estimation → Object tracker: uses tracking
- Speed estimation → Output video: writes result
