Advanced Driver Assistance System using OpenCV, PyTorch and YOLOv8
A real-time Advanced Driver Assistance System (ADAS) built using Python, OpenCV, NumPy, PyTorch, and YOLOv8 for vehicle detection, tracking, and road scene analysis.
This project demonstrates the fundamentals of an Advanced Driver Assistance System (ADAS) using modern Computer Vision and Deep Learning techniques.
The system processes dashboard camera footage in real time to detect road users, estimate their distance, track moving vehicles, and provide visual safety warnings.
This project is part of my learning journey in:
- 🤖 Robotics
- 🚗 Autonomous Systems
- 👁 Computer Vision
- 🧠 Artificial Intelligence
- ⚙ Embedded Systems
- 🚗 Vehicle Detection
- 🚌 Bus Detection
- 🚛 Truck Detection
- 🚶 Person Detection
- 🎯 Object Tracking (ByteTrack)
- 📊 Vehicle Counting
- 📏 Distance Estimation
- ⚠ Forward Collision Warning
- 🛣 Lane Detection
- 🎥 Video Processing
- 📹 Save Output Video
- ⚡ FPS Monitoring
| Technology | Purpose |
|---|---|
| Python | Programming Language |
| OpenCV | Image Processing |
| NumPy | Numerical Computing |
| PyTorch | Deep Learning Backend |
| YOLOv8 | Object Detection |
| ByteTrack | Multi-Object Tracking |
ADAS-System/
│
├── images/
│ └── road.jpg
│
├── outputs/
│ ├── output.mp4
│ └── output_v5.mp4
│
├── videos/
│ └── road.mp4
│
├── adas_v2.py
├── adas_v3.py
├── adas_v4_tracking.py
├── adas_v4_2.py
├── adas_v5_lane_detection.py
│
├── requirements.txt
└── README.md
Clone the repository
git clone https://github.com/sharvaeshyuvaraj-pixel/ADAS-System.gitGo to the project
cd ADAS-SystemInstall dependencies
pip install -r requirements.txtExample:
python adas_v5_lane_detection.pyAdd screenshots here after running the project.
Example:
images/
output1.png
output2.png
Then display them like this:
| Version | Status |
|---|---|
| V1 | ✅ Video Processing |
| V2 | ✅ YOLO Detection |
| V3 | ✅ Object Information |
| V4 | ✅ Object Tracking |
| V4.2 | ✅ Collision Warning |
| V5 | ✅ Lane Detection |
| V6 | 🚧 Planned |
- Lane Departure Warning
- Speed Estimation
- Traffic Sign Detection
- Traffic Light Recognition
- Driver Drowsiness Detection
- Blind Spot Detection
- Time To Collision (TTC)
- Bird's Eye View
- Sensor Fusion
- ROS2 Integration
- OpenCV Fundamentals
- NumPy for Image Processing
- Deep Learning with PyTorch
- YOLOv8 Object Detection
- ByteTrack Tracking
- Computer Vision Pipeline
- Video Processing
- ADAS Fundamentals
Sharvaesh Yuvaraj
Electronics & Instrumentation Engineering Student
Interested in:
- Robotics
- Autonomous Systems
- Computer Vision
- Embedded Systems
- Artificial Intelligence
GitHub:
https://github.com/sharvaeshyuvaraj-pixel
If you found this project useful, consider giving it a ⭐ on GitHub.
This project is licensed under the MIT License.