drive-guardian

Drive Guardian

An open-source Advanced Driver Assistance System (ADAS) project, re-architectured for high scalability and adaptability from powerful backend servers to resource-constrained edge devices (like the Raspberry Pi).

Architecture

YOLOv8 Throughput Optimization

The PyTorch YOLO runner now supports two YOLOv8-focused performance toggles through profile YAML files:

Example profile values:

YOLO_ENABLE_FUSE: true
YOLO_ENABLE_HALF: true
YOLO_ENABLE_DCP_DEHAZE: true

Notes:

Dark Channel Prior (DCP) Dehazing

DCP is an image restoration method that estimates haze thickness from low-intensity local patches (the dark channel), estimates atmospheric light, and reconstructs a clearer scene before detection. In Drive Guardian this is implemented as a lightweight pre-processing function to improve object visibility in hazy conditions.