/CarND-Vehicle-Detection

Vehicle Detection Project for Self-Driving Car ND using OpenCV

Primary LanguageJupyter Notebook

Vehicle Detection

Udacity - Self-Driving Car NanoDegree

In this project, my goal was to write a software pipeline to detect vehicles in a video.

The Project

The goals / steps of this project are the following:

  • Perform a Histogram of Oriented Gradients (HOG) feature extraction on a labeled training set of images and train a classifier Linear SVM classifier
  • Optionally, you can also apply a color transform and append binned color features, as well as histograms of color, to your HOG feature vector.
  • Note: for those first two steps don't forget to normalize your features and randomize a selection for training and testing.
  • Implement a sliding-window technique and use your trained classifier to search for vehicles in images.
  • Run your pipeline on a video stream (start with the test_video.mp4 and later implement on full project_video.mp4) and create a heat map of recurring detections frame by frame to reject outliers and follow detected vehicles.
  • Estimate a bounding box for vehicles detected.

alt text

Usage

In order to run the project you have to start the Jupyter Notebook by running the following command:

jupyter notebook Vehicle-Detection.ipynb