0% found this document useful (0 votes)
271 views3 pages

Vehicles Speed Detection Using Python

This document proposes a method to detect vehicle speeds using image processing techniques in Python. It discusses using video input, preprocessing to remove redundant data, detecting vehicles with bounding boxes, tracking vehicles across frames using algorithms like CSRT and MedianFlow, and estimating speeds using Kalman filtering. The goal is to provide an accurate but low-cost alternative to radar-based speed detection for traffic management.

Uploaded by

Innam Ullah
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
271 views3 pages

Vehicles Speed Detection Using Python

This document proposes a method to detect vehicle speeds using image processing techniques in Python. It discusses using video input, preprocessing to remove redundant data, detecting vehicles with bounding boxes, tracking vehicles across frames using algorithms like CSRT and MedianFlow, and estimating speeds using Kalman filtering. The goal is to provide an accurate but low-cost alternative to radar-based speed detection for traffic management.

Uploaded by

Innam Ullah
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

VEHICLES SPEED DETECTION USING PYTHON

SUPERVISOR:

SIR GUL MOHAMMAD

SUBMITTED BY:

INNAMULLAH AZHAR

REG#17PWELE5110

HIZBULLAH

REG#17PWELE5101

29 DECEMBER 2020

ELECTRICAL(COMM) DEPARTMENT

UNIVERSITY OF ENGINEERING AND TECHNNOLOGY PESHAWAR


ABSTRACT:
For the past few years reducing road accidents and controlling traffic by
limiting the speed of vehicles has gained more importance. Most of the methods
so far used are Doppler radar, IR or Laser sensor based speed calculation. All of
them are very expensive and also their accuracy is not quite satisfactory. In this
project, we will look to determine the speed with good accuracy but at relatively
low cost by using image processing techniques to process video stream. In this
study, the acquired video is pre-processed to remove the redundant information
followed by other different algorithms for tracking and speed detection.

INTRODUCTION:
The continuously increasing number of on-road vehicles has put a lot of
pressure on road capacity and infrastructure, making traffic management difficult
and giving way to problem of road accidents. Over-speeding is the major cause of
car accidents that increases the risk of injury or death. Therefore, it is important
to limit the speed of the vehicles at certain zones or areas so a robust and
efficient traffic management system is required. Radar speed measurement tools
are commonly used for this purpose which can be inaccurate in certain cases such
as in sensing smaller vehicles with weaker echoes. Also it is difficult for these tools
to detect vehicles changing in speeds too often or fast. Therefore, there is a need
for a better technique to detect the speed of the moving vehicles rather than
using expensive sensors such as radars, so we will look to use Image Processing
Technique to accurately measure the speed of the approaching vehicles.

METHODOLOGY:
Although there are many processing tools available for Vehicle speed
detection but here in this project we will use PYTHON. The programs are
implemented in PYTHON. The algorithm is divided into following parts:
1. Pre-processing
2. Vehicles detection
3. Vehicle Tracking
4. Speed detection

The moto behind preprocessing is to improvise the picture information in


an image or a video. We would want our model to detect the moving object in a
video with a bounding box is created surrounding the vehicle. We can use
different object detection algorithms for vehicles detection. OpenCV includes
different object tracking algorithms(CSRT,MedianFlow Tracker) which might be
helpful in vehicles tracking. Kalman filter algorithm can be used for estimating the
accurate speed of the moving vehicle.

Flow Chart:
The flow chart of Vehicle Speed Detection system is shown in the following
figure.

Input Video

Pre-processing

Vehicle Detection

Vehicle Tracking

Speed Detection

Figure 1: Flow Diagram of vehicle speed detection

You might also like