• Stars
    star
    172
  • Rank 220,325 (Top 5 %)
  • Language
    Python
  • License
    The Unlicense
  • Created almost 7 years ago
  • Updated over 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Real Time Detection and Classification of Vehicles and Pedestrians Using Haar Cascade Classifier

Vehicle-And-Pedestrian-Detection-Using-Haar-Cascades

Real Time Detection and Classification of Vehicles and Pedestrians Using Haar Cascade Classifier

FULL TUTORIAL TO CREATE YOUR OWN HAAR CASCADE: https://www.youtube.com/watch?v=ydSXgBZ1ybk

UPDATE [7-12-2018] I've also built an UI for it in Tkinter: https://github.com/AdityaPai2398/UI-For-Vehicle-and-Pedestrian-Detection-/tree/master/Vehicle%20and%20pedestrain%20detection

Computer Vision Plays a vital role in traffic management and surveillance systems and has been an active research area in the past years. In systems like these, the detection of vehicles and also classification of the vehicle plays a major role. The datasets are traffic videos of urban environment taken from various cities around the world which were used to train the classifier hence generating a robust classifier. The proposed approach is computationally less expensive with faster processing speed. The experiments on-road prove it to be a robust and real time algorithm which is highly competitive with the existing architecture.

This System has the following Haar Cascades:

  1. Haar Cascade for Car detection
  2. Haar Cascade for Bus Detection
  3. Haar Cascade for Two-Wheeler Detection
  4. Haar Cascade for Pedestrian Detection

The Results of the system are as shown below:

car

bus

pedestrian

two wheeler

Steps To Run The Project

System Requirements:


  1. Python 3.6 Or above
  2. Opencv-python -> Python 3.4+ comes with an easy installation tool called pip to install additional packages. (package manager)

    Successfull installation of above packages may be checked by moving into python shell and typing "import cv2" If nothing shows up then installation was successful. . We had used python 3.6.1 but any version higher than 3.6.1 will also do.


The Project Folders have 4 sub folders

1)Car

2)Two Wheeler

3)Bus

4)Pedestrian

In each of the subfolder there will be two videos ,one haarcascade ,two python scripts (one for each of the videos).

Due to file size constraint I wasn't able to upload all the videos. Please raise an issue if you need the videos and I'll send it ASAP.

More Repositories

1

CamScanner-In-Python

Build your own document scanner with OpenCV Python
Python
115
star
2

UI-For-Vehicle-and-Pedestrian-Detection-

Simple UI using tkinter
Python
15
star
3

Extract-Links-from-Images

Using OCR and pytesseract to extract links from images in Python
Python
14
star
4

Detection-of-Terror-Elements-Online-Using-Object-Detection

Object recognition along with a simple tkinter ui to recognize and report terror elements
Python
8
star
5

Stack_Overflow_Parser

Python
6
star
6

Flask-Pdf-Splitter-

Build and deploy a python flask application to split pdfs
Python
6
star
7

Colour-Segmentation-in-OpenCV

Using HSV range to track a red object from a camera mounted on a quad rotor.
Python
6
star
8

Youtube-Video-Downloader

Python
5
star
9

Neural-Networks-Notes

The notes that I made while watching the first course in deeplearning.ai
5
star
10

Logistic-Regression-with-NNs

Implementing Logistic Regression using the concept of Neural Networks
Jupyter Notebook
5
star
11

Get_Live_Cricket_Score

Get the live cricket score of matches on your whatsapp number through Twillio Sandbox
Python
3
star
12

Leaf-Detection

A simple banana leaf detector using Haar Cascades and OpenCV-Python
Python
3
star
13

Random-forest-approach-to-predict-the-chances-of-a-person-being-prone-to-alcohol-or-substance-use

Random forest in Python
Python
3
star
14

Get-Number-Of-Subscribers-Youtube

Uses Windows Notifier, Emoji API, Json
Python
3
star
15

Speech-Recognition-to-Auto-Voice-Search-in-Python

Python
3
star
16

Python-Mail-Sender

Send Emails using SMTPLib in python
Python
3
star
17

Tensorflow-OpenCV-for-Live-Camera

Uses faster_rcnn_inception_resnet_v2_atrous_oid and ssd_mobilenet_v1_coco_11_06_2017.tar as model.
Python
2
star
18

K-Means-to-predict-GPA

Perform A Cluster Analysis to Predict the GPA in under 150 lines of Python
Python
1
star
19

Planar-Data-Classification

2 class classification with a Neural Network that has a single hidden layer
Jupyter Notebook
1
star
20

OpenCV-Playground

Having fun with OpenCV
Python
1
star
21

Initializing-a-Neural-Net

Zero Initialization vs Random Initialization vs He Initialization
Jupyter Notebook
1
star
22

LASSO-Regression-to-predict-the-School-Connectedness-of-a-student

Finding connectedness of a student to his school.
Python
1
star
23

Fibonacci-in-4-ways

Recursive,Top Down DP,Bottom Up DP,BottomUp DP with O(1) space complexity
C++
1
star
24

Instructions-for-few-tricky-C-Programs

Some decriptions to keep in mind while analysing crypto/trick c programs
1
star
25

Coding-BackUp

1
star