Skip to content

About

Object Detection and Localization using Image processing and Machine learning Algorithms like YOLO

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

Repository files navigation

End-to-End ADAS Perception Pipeline

This project implements a modern, real-time perception pipeline for Advanced Driver Assistance Systems (ADAS). It is designed to detect objects (vehicles, pedestrians, potholes), track them across frames, and estimate their relative distance using monocular depth estimation.

System Architecture

The pipeline is built around three core modules:

  1. Object Detection: Uses YOLOv8 (via Ultralytics) for fast, robust bounding box detection.
  2. Monocular Depth Estimation: Uses MiDaS to generate a relative depth map from a single 2D camera frame.
  3. Object Tracking: Maintains object identities across frames to stabilize distance calculations (currently a simple IoU tracker, ready to be upgraded to ByteTrack/DeepSORT).

Setup Instructions

  1. Clone the repository (if not already done).
  2. Install dependencies:
    pip install -r requirements.txt
  3. Run the pipeline:
    • To run on your default webcam:
      python src/pipeline.py --source 0
    • To run on a recorded video file:
      python src/pipeline.py --source path/to/your/video.mp4

Roadmap for Production Deployment

To scale this to a "Tesla-grade" or enterprise-level system, the following upgrades are recommended:

  • Sensor Fusion: Integrate Stereo Cameras or low-cost LiDAR for absolute millimeter-accurate distance, rather than relative depth.
  • Bird's Eye View (BEV): Transform the 2D detections into a top-down vector space for path planning.
  • Edge Optimization: Convert the PyTorch models to TensorRT/ONNX to run at 30+ FPS on embedded devices like the NVIDIA Jetson.
  • Data Engine (Shadow Mode): Implement an active learning loop that saves edge-case frames (where the model is uncertain) to a cloud bucket for retraining.

About

Object Detection and Localization using Image processing and Machine learning Algorithms like YOLO

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages