Srinjoycode / Car-Detection-Basic-Open-CV

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Car-Detection-Basic-Open-CV

Video Tutorial Link - https://youtu.be/RlD7Q6GFFJE

Description: This project uses OpenCV Library which is is an open source computer vision and machine learning software library.

  1. OpenCV:(Open Source Computer Vision Library) is an open source computer vision and machine learning software library. OpenCV was built to provide a common infrastructure for computer vision applications and to accelerate the use of machine perception in the commercial products

  2. HaarCascade: It is a machine learning object detection algorithm used to identify objects in an image or video. With the combination of Python and CV2, image of cars are extracted from video and displayed on windows Screen.

Installation:

  1. Below Python packages are to be downloaded and installed to their default locations. a) Numpy package (for example, using pip install numpy command). b) Matplotlib (pip install matplotlib) (Matplotlib is optional, but recommended since we use it a lot in our tutorials).
  2. Install all packages into their default locations. Python will be installed to C:/Python27/ in case of Python 2.7.
  3. After installation, open Python IDLE. Enter import numpy and make sure Numpy is working fine.
  4. Download latest OpenCV release from GitHub or SourceForge site and double-click to extract it.
  5. Goto opencv/build/python/2.7 folder.
  6. Copy cv2.pyd to C:/Python27/lib/site-packages.
  7. Open Python IDLE and type following codes in Python terminal

import cv2 as cv print( cv.version )

Topics to be Known:

  1. Frame Differencing
  2. Image Thresholding
  3. Contours
  4. Image Dilation

A pictographic representation of car detection: Car Detection

About


Languages

Language:Python 100.0%