# gaidevofficial/deadshot_aimbot architecture

> Architecture diagram of the GitHub repository gaidevofficial/deadshot_aimbot, 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/gaidevofficial/deadshot_aimbot
- Repository: https://github.com/gaidevofficial/deadshot_aimbot

## Overview

AIMBOT.py is a compact Windows aim-assist application. Its runtime loop captures a screen region, detects and selects a target, conditionally moves the mouse, and refreshes a transparent overlay. The README also describes the YOLO model, overlay, NMS handling, and click-triggered movement. These responsibilities share one source file, so the graph separates them by role rather than implying separate modules. Relationships are supported by AIMBOT.py; the README’s differing configuration defaults are not treated as runtime behavior.

Main entry points: [`AIMBOT.py`](https://github.com/gaidevofficial/deadshot_aimbot/blob/main/AIMBOT.py) (Transparent overlay), [`yolov8n.onnx`](https://github.com/gaidevofficial/deadshot_aimbot/blob/main/yolov8n.onnx) (YOLO ONNX model)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_vision["Vision loop"]
  node_capture["FOV capture<br/>[AIMBOT.py]"]
  node_detector["YOLO detector<br/>[AIMBOT.py]"]
  node_selection["Target selection<br/>[AIMBOT.py]"]
  node_model["YOLO ONNX model<br/>[yolov8n.onnx]"]
end

subgraph group_interaction["Overlay and control"]
  node_app["Qt application<br/>[AIMBOT.py]"]
  node_overlay["Transparent overlay<br/>[AIMBOT.py]"]
  node_trigger["Click trigger<br/>[AIMBOT.py]"]
  node_movement["Mouse movement<br/>[AIMBOT.py]"]
end

node_user(("Operator"))
node_game["Foreground game"]

node_user -->|"launches"| node_app
node_app -->|"creates"| node_overlay
node_overlay -->|"runs every 8ms"| node_capture
node_capture -->|"provides frame"| node_detector
node_detector -->|"loads"| node_model
node_detector -->|"returns detections"| node_selection
node_selection -->|"offers target"| node_trigger
node_user -->|"clicks"| node_trigger
node_trigger -->|"moves when active"| node_movement
node_movement -->|"sends mouse input"| node_game
node_selection -->|"updates drawing state"| node_overlay
node_overlay -->|"shows boxes and point"| node_user

click node_app "https://github.com/gaidevofficial/deadshot_aimbot/blob/main/AIMBOT.py"
click node_overlay "https://github.com/gaidevofficial/deadshot_aimbot/blob/main/AIMBOT.py"
click node_capture "https://github.com/gaidevofficial/deadshot_aimbot/blob/main/AIMBOT.py"
click node_detector "https://github.com/gaidevofficial/deadshot_aimbot/blob/main/AIMBOT.py"
click node_selection "https://github.com/gaidevofficial/deadshot_aimbot/blob/main/AIMBOT.py"
click node_trigger "https://github.com/gaidevofficial/deadshot_aimbot/blob/main/AIMBOT.py"
click node_movement "https://github.com/gaidevofficial/deadshot_aimbot/blob/main/AIMBOT.py"
click node_model "https://github.com/gaidevofficial/deadshot_aimbot/blob/main/yolov8n.onnx"

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_capture,node_detector,node_selection,node_model toneBlue
class node_app,node_overlay,node_trigger,node_movement toneAmber
class node_user,node_game toneIndigo
```

## Components

### Vision loop

- [FOV capture](https://github.com/gaidevofficial/deadshot_aimbot/blob/main/AIMBOT.py): `AIMBOT.py`
- [YOLO detector](https://github.com/gaidevofficial/deadshot_aimbot/blob/main/AIMBOT.py): `AIMBOT.py`
- [Target selection](https://github.com/gaidevofficial/deadshot_aimbot/blob/main/AIMBOT.py): `AIMBOT.py`
- [YOLO ONNX model](https://github.com/gaidevofficial/deadshot_aimbot/blob/main/yolov8n.onnx): `yolov8n.onnx`

### Overlay and control

- [Qt application](https://github.com/gaidevofficial/deadshot_aimbot/blob/main/AIMBOT.py): `AIMBOT.py`
- [Transparent overlay](https://github.com/gaidevofficial/deadshot_aimbot/blob/main/AIMBOT.py): `AIMBOT.py`
- [Click trigger](https://github.com/gaidevofficial/deadshot_aimbot/blob/main/AIMBOT.py): `AIMBOT.py`
- [Mouse movement](https://github.com/gaidevofficial/deadshot_aimbot/blob/main/AIMBOT.py): `AIMBOT.py`

### Other components

- **Operator**
- **Foreground game**

## Connections

- Operator → Qt application: launches (evidence: `README.md`)
- Qt application → Transparent overlay: creates (evidence: `AIMBOT.py`)
- Transparent overlay → FOV capture: runs every 8ms (evidence: `AIMBOT.py`)
- FOV capture → YOLO detector: provides frame (evidence: `AIMBOT.py`)
- YOLO detector → YOLO ONNX model: loads (evidence: `AIMBOT.py`)
- YOLO detector → Target selection: returns detections (evidence: `AIMBOT.py`)
- Target selection → Click trigger: offers target (evidence: `AIMBOT.py`)
- Operator → Click trigger: clicks (evidence: `AIMBOT.py`)
- Click trigger → Mouse movement: moves when active (evidence: `AIMBOT.py`)
- Mouse movement → Foreground game: sends mouse input (evidence: `AIMBOT.py`)
- Target selection → Transparent overlay: updates drawing state (evidence: `AIMBOT.py`)
- Transparent overlay → Operator: shows boxes and point (evidence: `AIMBOT.py`)
