AReviewonVehicleSpeedDetectionusingImageProcessing-Nov2017
AReviewonVehicleSpeedDetectionusingImageProcessing-Nov2017
net/publication/327337312
CITATIONS READS
10 9,684
1 author:
Balasubramani Ramasamy
NMAM Institute of Technology
42 PUBLICATIONS 169 CITATIONS
SEE PROFILE
All content following this page was uploaded by Balasubramani Ramasamy on 06 September 2018.
100% for speed estimation and with accuracy of hulls that are found in a series of images. The
90% in typical streets. function bwdist computes the distance between
the centers of the convex hull.
III.TECHNIQUES USED
A. Proposed System [1]. B. Proposed System [2]
In this approach the sequence of images are first This presents a new Speed Detection Camera
converted into monochrome images. Then its System (SDCS) which is an alternative to Radar.
edges are extracted then detect the vehicle which It makes use of various image processing
may be tracked in various frames. Then the speed techniques on video stream in online that are
it calculated by comparing with ground truth. captured from single camera or offline mode,
Sequence of steps used are: which makes it capable for calculating speed of
1. Reading the video: Record the video in the vehicle. Radar limitations are overcome here by
Matlab workspace, which then must be read offering an in-expensive approach with the same
using (aviread) function which read the video accuracy or better. Phases of SDCS are divided
from Matlab workspace. into 4 phases;
2. Convertion of the Video Frame to an Image: 1. Object Detection: Here an hybrid algorithm is
The function frame2im in MATLAB converts the used which will detect the moving object. It is
single movie frame into an indexed image and an based on the combination of adaptive
associated color map. background subtraction technique and a three-
3. Computing the Images Absolute difference: frame differencing algorithm.
The function imabsdiff subtracts each element in It has 3 steps
current image from the corresponding element in i. Constructing the motion matrix
the previous image and returns the absolute ii. The masked subtraction
difference in terms of array elements. iii. Generating new background threshold matrix
2. Objects Tracking: Frame by frame tracking of
4. Converting the image to Black and white: The object which has been detected is very difficult
image is converted to black and white by using task but at the same time it is important. It is the
the function im2bw. It converts an image to significant part of the systems as without object
binary image, based on threshold, the function tracking, the system will not be able to extract
graythresh is used to compute threshold cohesive temporal information about objects and
automatically which computes a global any higher level behavior analysis would not be
threshold. possible. On the other hand,
5. Labelling the objects in the Image and Finding tracking will be difficult if the foreground object
the Center of the vehicles to keep segmentation is inaccurate because of shadows,
track of them: All the components in the image reflectance and occlusions.
must be marked, which helps to determine the Object tracking has 3 phases;
number of labeled objects that is found in i. Object segmentation
numobjectsbase parameter, this step is related ii. Object labeling
with another step which will measure all the iii.Object center extraction
properties of the image components. 3. Speed Calculation: After tracking each object
6. Convex Hull Extraction: Then the moving in video the next step is to save the frame number
edges are filled which would appear as solid that the object entered the scene at (Fr0), and the
moving blobs. We use a convex hull which frame number that the object left the scene at
characterize the blobs, which would approximate (FrN), then speed calculation can be carried out
the contour of the vehicles. by calculating the number of frames consumed
7. Bounding Box Extraction: To obtain scaling by the object to pass-by the scene and as the
information directly from the image known duration of each frame is known, the total time
geometric relationships in the images is taken by the object to pass-by the whole scene
exploited, which is done by constructing a can be calculated.
bounding box to enclose the convex hull. 4. Capture Object's Picture: The best position to
8. Geometric analysis: By keeping the direction capture a picture with good resolution is when
of motion of each vehicle fixed, the best fit line the object is at the center of the screen. So at that
is computed through the centroids of the convex time system stores the captured picture as current
frame. Then the system marks the targeted object 2. Vehicle velocity estimation: Once the image is
in the frame so that there will be some difference extracted and segmented into blocks, the motion
between it and other moving objects within the vector technique is applied to calculate the pixels
scene. changes among the two blocks to measure the
C. Proposed System[3] speed of the moving vehicle. The motion vector
In this approach 2 extracted images are selected is applied with the vector valued function to
to apply the motion estimation process in the demonstrate the vehicle speed detection
developed MATLAB algorithm. Standalone algorithm for the video from surveillance
images is segmented into 16 × 16 small blocks cameras.
using the division technique. Then the blocks are 3. Vector-valued function for vehicle motion
extracted from video coding to be compared with velocity: This is to verify the respective number
its respective image in current image and the of changes in blocks within two consecutive
previous image. This blocks are compared to images. The input of a vector valued function
detect the changes in pixels which is used to may be a scalar or a vector where as the output is
estimate the velocity of the respective moving a vector. When vector valued function is applied,
vehicle. the vehicle speed can be determined.
The flowchart is shown in Fig1 4. Digital Video Recorder (DVR) card setting
estimation: If we want to associate the sequence
images with vector valued function algorithms, a
digital video recorder (DVR) card is required. It
is installed to capture the video from the camera
and save into a particular folder in the hard drive.
D. Proposed System[4]
It presents a method which determines the
vehicle speed in accident prone areas by using
the video frames that are captured from the
camera which are fixed on the road. It works as
follows:
1. Frame Differencing Operation: One frame is
taken as the reference frame and then two
different frames are taken to calculate the
absolute difference between those two frames
with the reference frame as in Fig2.
(a)Frame X
10. Computing coordinates value of matched iii. Tracking: Used to analyzing the position,
block: After traveling distance, coordinates value velocity and direction of moving object.
for matched blocks is calculated as in step 6.
11. Computing centroid value: Centroid value is IV.CONCLUSION
calculated in the same way as in step 7. 1. This paper gives review on vehicle speed
12. Calculating distance: Distance traveled by detection technique using different approaches.
vehicle either in horizontal or vertical direction, 2. Different approaches are edge extraction,
calculated by using distance formula. This object tracking, motion vector technique,
formula has been applied on centroid coordinates absolute, centroid method and background image
for two most matched blocks with template subtraction.
image. 3. The processing is done in MATLAB.
13. Notify time from CCTV camera: Time taken 4. By using any of these methods, traffic can be
by vehicle to travel distance is notified from controlled and vehicle speed detection will be
CCTV camera. maintained.
14. Calculating speed of vehicle: Speed of
vehicle is then calculated by distance traveled by REFERENCES
vehicle in particular instant of time. It is [1] Ammar Awni Abbass University of Baghdad
calculated by using mathematical concept of "Estimating vehicle speed using image
speed, time and distance. processing", AL-Mansour Journal / No.14/
Special Issue /( Part Two) 2010
F. Proposed System [6] [2] Osman Ibrahim, Hazem ElGendy, and
It proposed a real time to detect moving vehicles Ahmed M. ElShafee, Member, IEEE " Speed
which violate the speed limit. It makes use of Detection Camera System using Image
digital signal processing for estimating the speed Processing
of the moving vehicles. Techniques on Video Streams ", International
Journal of Computer and Electrical
1. Partitioning the road into disjoin region: In Engineering, Vol. 3, No. 6, December 2011
order to reduce the computational cost, time and [3] S. S. S. Ranjit, S. A. Anas, S. K.
the problems occurred in measurement that are Subramaniam, K. C. Lim, A. F. I. Fayeez, A. R.
caused by multiple vehicles moving side by side Amirah," Real-Time Vehicle Speed Detection
or one after each other, the road area is Algorithm using
partitioned into disjoint regions. The parts of the Motion Vector Technique ", Proc. of Int. Conf.
image that do not belong to any region are not on Advances in Electrical & Electronics 2012
considered in the calculations. Each region is [4] Siddharth Jhumat," Vehicle Speed
processed separately to reduce the computational Estimation in Accident Prone
cost. Areas using Image Processing ", International
2. Binary image generation: The speed Journal of Advanced Research in Computer and
measurement is performed in binary image in Communication Engineering Vol. 3, Issue 5,
which each pixel is transformed into either “1” May 2014
or “0” according to its motion information. To [5] Pratishtha Gupta, G N Purohit, Manisha
binarize the incoming input image and only Rathore," Estimating Speed of Vehicle using
detect the moving pixels, two different Centroid Method in MATLAB ", International
techniques are used: Journal of Computer Applications (0975 – 8887)
i. Inter-frame difference and Volume 102– No.14, September 2014
ii. Background subtraction. [6] N.Arun Prasath1 G.Sivakumar2
3. Tracking the moving object: The sequential Mr.N.Kumaresan3," Vehicle Speed
approach to track the moving objects and to find Measurement and Number Plate Detection using
the velocity of objects are as follow. Real Time Embedded System ", Network and
i. Segmentation: Process which separates Complex Systems
multiple regions in image ISSN 2224-610X (Paper) ISSN 2225-0603
ii. Feature Extraction: Process to analyze the (Online) Vol.5, No.3, 2015
regions in image [7] O. Ibrahim, H. ElGendy, and A. M. ElShafee
“Towards Speed Detection Camera System for a