π https://chethan-agentdrive-ai.streamlit.app/
Experience real-time object detection, multi-object tracking, motion analysis, AI-powered driving advice, and intelligent risk assessment by uploading your own driving video.
AgentDrive AI is an intelligent Driver Assistance System (ADAS) prototype that combines Computer Vision, Multi-Object Tracking, Scene Understanding, Risk Analysis, Generative AI, and Neural Voice Alerts into a real-time dashboard.
The application detects road users from a driving video, tracks them across frames, evaluates traffic conditions, estimates driving risk, generates contextual driving advice using an LLM, and delivers concise voice alerts similar to modern Advanced Driver Assistance Systems.
Unlike a conventional object detection project, AgentDrive AI integrates perception, reasoning, and driver interaction into a single modular AI system.
- π Real-Time Object Detection using YOLO11
- π― Multi-Object Tracking using ByteTrack
- π¦ Traffic Density Analysis
- π₯ Pedestrian Detection
- π Vehicle Detection
- π Motion Analysis
- β Risk Assessment Engine
- π€ AI Driving Advisory using Llama 3.3 (Groq)
- π Neural Voice Alerts using Microsoft Edge TTS
- π€ Upload Any Driving Video
- π₯ Premium Streamlit Dashboard
- π Live Telemetry Cards
- π§ Modular AI Pipeline
Driving Video
β
βΌ
OpenCV Video Reader
β
βΌ
YOLO11 Object Detection
β
βΌ
ByteTrack Object Tracking
β
βΌ
Scene Analyzer Module
β
ββββββββββββββ΄βββββββββββββ
βΌ βΌ
Motion Analyzer Risk Engine
β β
ββββββββββββββ¬βββββββββββββ
βΌ
Decision Engine
β
βββββββββββββββββ΄ββββββββββββββββ
βΌ βΌ
Alert Engine LLM Assistant
β β
βΌ βΌ
Microsoft Edge TTS AI Driving Advisory
β β
βββββββββββββββββ¬ββββββββββββββββ
βΌ
Streamlit Dashboard
The project follows a modular pipeline architecture.
| Module | Responsibility |
|---|---|
| YOLO11 | Object Detection |
| ByteTrack | Object Tracking |
| Scene Analyzer | Scene Understanding |
| Motion Analyzer | Movement Estimation |
| Risk Engine | Collision Risk Analysis |
| Decision Engine | Determines whether to invoke the LLM |
| Alert Engine | Generates short safety alerts |
| Voice Agent | Neural voice notifications |
| LLM Assistant | Generates contextual driving advice |
- Python 3.12
- OpenCV
- YOLO11 (Ultralytics)
- ByteTrack
- LangChain
- Groq API
- Llama 3.3
- Microsoft Edge TTS
- pygame
- Streamlit
AI_Driving_Assistant/
β
βββ app.py
βββ requirements.txt
βββ README.md
β
βββ assets/
β βββ dashboard.png
β βββ upload.png
β βββ voice.png
β βββ detection.png
β
βββ videos/
β
βββ src/
βββ detector.py
βββ visualizer.py
βββ scene_analyzer.py
βββ motion_analyzer.py
βββ risk_engine.py
βββ decision_engine.py
βββ alert_engine.py
βββ voice_agent.py
βββ llm_assistant.py
βββ memory.py
βββ pipeline.py
Clone the repository
git clone https://github.com/ChethanMShivappa/AgentDrive-AI.gitNavigate into the project
cd AgentDrive-AICreate a virtual environment
python -m venv venvActivate
Windows
venv\Scripts\activateInstall dependencies
pip install -r requirements.txtRun
streamlit run app.pyHEAVY
MEDIUM
2 Cars Approaching
1 Truck Moving Away
β Heavy Vehicle Ahead
Reduce speed.
Maintain a safe following distance.
Watch pedestrians crossing ahead.
- Lane Detection
- Traffic Sign Recognition
- Driver Drowsiness Detection
- Depth Estimation
- Speed Estimation
- Collision Prediction
- Voice Commands
- Edge Device Deployment
- Docker Support
- Cloud Deployment
- Computer Vision
- Multi-Object Tracking
- Scene Understanding
- Motion Analysis
- Risk Assessment
- Prompt Engineering
- Large Language Models
- LangChain
- Real-Time Video Analytics
- Software Engineering
- Modular AI System Design
- Streamlit Dashboard Development
Chethan M S
AI Engineer | Generative AI | Computer Vision | Agentic AI
GitHub: https://github.com/ChethanMShivappa
LinkedIn: https://linkedin.com/in/chethan-m-s-b544673a9/
If you found this project useful, please consider giving it a β on GitHub.



