Skip to content

An image processing pipeline to detect and track vehicles

Notifications You must be signed in to change notification settings

josahe/vehicle-detection

Repository files navigation

Vehicle Detection and Tracking

An image processing pipeline to detect and track vehicles

INTRODUCTION

The goal of this project is to write a software pipeline that detects vehicles in an image and tracks them across frames of a video captured from a front-facing camera on a car

A demonstration of the pipeline is show in this video

This project was undertaken as part of the Udacity Self-Driving Car NanoDegree.

Pipeline summary

  • Extract features from a labelled training set of images and train a Linear SVM classifier
    • Features: histogram of oriented gradients, colour histograms and spatial binning
  • Implement a sliding-window across an image and use a trained classifier to search for vehicles
  • Create a heat map of recurring detections frame by frame to reject outliers and track detected vehicles
  • Estimate a bounding box for each tracked vehicle

HOW TO USE

Project dependencies

You can follow the guide explained here to setup a working environment.

Jupyter Notebooks

The included notebooks demonstrate how to use the project code.

RELEVANT LINKS

Project writeup

Original project repo

RELEVANT FILES

  • vehicle_tracking.py, including:
    • A Vehicle class to represent tracked vehicle objects
    • A VehicleTracking class that implements the full processing pipeline
  • helper.py, including independent implementations of various stages of the pipeline and other miscellaneous helper functions

About

An image processing pipeline to detect and track vehicles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •