Skip to content

hikmatullah-mohammadi/Car-detection-tfod

Repository files navigation

Car Detection TFOD

Car detection in real time using Tensorflow Object Detection API and python-opencv (cv2)

Project overview:

Object detection is a popular use case of computer vision, and can be used to solve many real world problems. One use of object detection is car detection in real time, which, in turn, can help traffic flow analysis. Also, car detection in an essencial part of autonomous automobiles which assists them to detect other vehicles and navigate accordingly. Hence, I decided to build/fine-tune a Single Shot Detection (SSD) model to detect cars on the streets in real time.

Project structure:

First, the model is trained on google colab using Tensorflow Object Detection (TFOD) API, and then it is exported to Tensorflow saved model format after being evaluated. Next, using the python-opencv library and Tensorflow, the model is used to detect cars in real time video footage.

How to run

  1. Install required libraries
pip install tensorflow
pip install python-opencv
  1. Run the following command
python index.py

Screenshots

Screensot #1
Screensot #1 Screensot #2
Screensot #2

Usefull Links:

Author profiles:

About

Car detection in real time using TFOD and cv2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published