You are on page 1of 5

ADAPTIVE TRAFFIC SESNING DRONE

Rajasekhar Chandana Venkateswara Rao Rajini Gudipudi


DepartmentofElectricalandElectronics DepartmentofElectricalandElectronics DepartmentofElectricalandElectronics
Engineering Engineering Engineering
V.R.SiddharthaEngineeringCollege V.R.SiddharthaEngineeringCollege V.R.SiddharthaEngineeringCollege
Vijayawada, India Vijayawada, India Vijayawada, India
rajj.studies@gmail.com drbvrao@vrsiddhartha.ac.in rajinigudipudi1674@
gmail.com

Akshith Roy Kopuri Sri Jayanth Javvaji


DepartmentofElectricaland Electronics DepartmentofElectricaland Electronics
Engineering Engineering
V.R.SiddharthaEngineeringCollege V.R.SiddharthaEngineeringCollege
Vijayawada,India Vijayawada,India
akshithroy007@gmail.com jsrijayanth@gmail.com

Abstract— A major problem in our rapidly changing society


is traffic congestion. The management of traffic using the
conventional method is difficult due to the increase in the congestion index ranking
usage of more private automobiles and the limited capacity 80
of the road network. The number of automobiles per
household and on the road increases along with the 70
exponential growth in population. As quickly as possible, a 60
quick fix should be implemented to minimize traffic
50
congestion. The use of conventional techniques may not be
an effective and meaningful remedy for different types of 40
traffic congestion. The internet of things (IoT), machine 30
learning (ML), and artificial intelligence (AI) are currently
20
playing significant roles in the resolution of several real-
world issues. Therefore, using AI, ML, and IoT to this issue 10
can result in the best possible solutions. 0
Dec/19 Mar/20 Jun/20 Sep/20 Jan/21
Keywords—Traffic,AI, IoT, ML. mumbai bengaluru new delhi pune

Ⅰ. INTRODUCTION Fig 1. Congestion index ranking in India in 2020

All over the world, India is the highest congestion country. Magnetic loop detectors were already employed to count the
Traffic congestion in cities has become worse over the past number of cars that pass over them. Systems for video
several decades, having a detrimental impact on everyday life monitoring that rely on vision have a variety of advantages over
for people as well as limiting steady economic and societal prior technologies. In these kinds of systems, a considerably
growth. Travel time, air pollution, and financial losses all rise wider range of traffic characteristics, including vehicle classes,
as a result of traffic congestion. Governments work harder than lane changes, parking spaces, etc., may be measured in addition
ever to control and relieve traffic congestion, but the effort is to vehicle counts.
challenging due to the complexity of the issue. It is very
challenging to predict. The dynamic and linked nature of traffic
congestion also reflects the complexity of the situation. It can CONGESTION PERCENTAGE
spread to nearby road segments from a busy road segment.Fully
autonomous analysis of traffic congestion is challenging to do
AROUND THE WORLD
due to their complexity.
Fundamental data for a range of transportation initiatives, from
transportation planning to contemporary intelligent 36%
transportation, include traffic counts, speed, and vehicle 28%
PERCENTA 36%
classification. Even yet, sensors are still used by "Traffic GE
53%
56%
Monitoring" and "Information Systems" connected to vehicle 63%
classification to estimate road conditions.We chose 2019 data 65%
due to the COVID 19 pandemic. There aren't enough cars on 0% 20% 40% 60% 80%
the road to rely on data. NEW YORK VANCOUVER PARIS JAKARTA
MOSCOW BOGOTA MUMBAI

Fig 2. Congestion index ranking around the world


Ⅱ. THE TRAFFIC SENSING MODULE
The first parameter is the image from the stage before it, and the
There are several approaches to reduce traffic congestion, but other is defined by another function by creating a flat structuring
none of them has been very successful. Real-time traffic data is element with the specified neighborhood. The central
collected using a camera mounted on a drone that is flown component of the matrix is its origin or center.
through the traffic in order to provide the percentage of traffic.
D. Vehicle Enhancement
The data is then sent back to a computing device where it is
analyzed, computed, and converted into percentage figures The video analysis includes the identification of moving
before being made available to the general public to check on vehicles. It may be applied to a variety of situations, including
traffic details video surveillance, traffic monitoring, and person tracking.
Frame difference is one of numerous motion segmentation
A. Capturing Image. methods. The frame difference approach is simple to use and has
a low computing complexity; because the difference between the
We can take the recorded picture from a live camera that can current frame and the reference frame is greater than the
record an image every ten seconds. However, for my study, we threshold, it is regarded as a moving vehicle.
will take the video, split it into frames, and capture a frame
around every few seconds. Another approach Even when the camera moves, the optical
flow approach can detect moving objects, but it takes more time
If we utilize the camera, we should mount it in a stable location
due to its computational complexity and is particularly noise-
to prevent vibration.
sensitive.
B. Foreground Detector
The Foreground Detector, which has a significant impact on the
filter and may identify the ground, is regarded as the most
crucial function in this code. Using Gaussian Mixture Models,
the foreground detector finds the foreground (GM-
M).Additionally, Foreground Detector converts the picture type
from "RGB" to "Gray" and then "Binary" and performs various
levels of filtering. Images are converted to binary format by
replacing each pixel with one of two values: white (logical 1) if
the pixel's brightness is equal to or greater than the level, or
black (logical 0) otherwise. The specified level must fall Fig 4. original frame taken from video
between [0, 1].
E. Vehicle tracking

Vehicle tracking involves continuously identify the detected


vehicle sequence and is done by specifically marking the
boundaries around the detected vehicle.
Vehicle tracking is a challenging problem. Difficulties in
tracking vehicles can arise due to abrupt vehicle motion,
changing appearance pattern of the vehicle, and vehicle to
vehicle
In my paper we use also from Foreground Detector Blob
Fig 3. original frame taken from video
Analysis function. This function detects the vehicles and then
C. Image Enhancement from the bounding box we get the size of the detected vehicles.
After that, we draw a rectangle around the detected vehicle.
Digital pictures are modified throughout the image
enhancement process to make them more suited for display or F. Data Transmission
in-depth examination. For instance, by removing noise, the item
will be simpler to detect. With the exception of image rode 1. Camera: Camera is used to take the video recording.
method, image enhancement is the same as that utilized in 2. Raspberry pi 4b:It is used to transmit the data from the
image detection and video detection. The function designated camera to user interface
for this operation is used to first remove tiny linked components 3. Data collecting and Traffic sensing unit:it holds the data in
and objects from the binary picture. These items are below the the memory or USB services.
stated threshold in terms of pixel count. For instance, if we set 4. Data transmitting unit: using5GHZradio signal the data is
the threshold to 10 pixels, any item with a size lower than 10 transmitting through to display.
would be removed. One of the most crucial and challenging
prehending approaches is removing the image's noise, but after
this is done, the task will get simpler. Data
cam Raspb collectin
Transmitti
ng data MQTT
The second phase enlarges and smoothed out the white regions era erry pi g and BROKER

while filling in the black sections close to borders and 4B traffic


sensing
perimeters. Dilate process has two parameters: one to define the
kind of shape you want to draw and the other is a size of matrix
containing 1s and 0s; the location of the 1s defines the Fig 5. Block diagram of data transmitting
neighborhood for the morphological operation.
Ⅲ. UAV MODULE Ⅴ. RESULTS

Processed data from drones. To produce a sorted, useful, and On a laptop with an Intel Core i5 (2.4 GHz) CPU and 8GB RAM,
coherent data collection, hundreds or even thousands of photos we executed the algorithm. iNTEX IT-305 WC camera is
are recognized, grouped, and/or stitched together, Measured. included.We did test flights in city traffic and flew the drone for
Drone data is frequently processed to create data products, such ten minutes in a steady position above a highway. Most cars can
a map or computer model, that may be precisely geolocated be tracked and classified by the system with success. However,
and/or verified. due to the vehicle speeds, tests conducted in city traffic were
superior to those conducted on highway data. Due to their speed,
two-wheelers made up the majority of the vehicles the system
missed on highways. Figures display some of our system's
outcomes.

Fig6. Complete Quadcopter under its development phase.

Ⅳ. LITERATUREREVIEW

Utilizing an open tool for image processing, the number of cars


is computed by first displaying various image conversions on
the screen and then enclosing the box around the vehicle in the
provided picture. By comparing the four aspects of the image Fig7.. detecting vehicles by drone module
that is provided as input, they may use the MatLab tool to
determine the vehicle's density. They can replicate the output
of the four provided input photos; however, this cannot be
utilized in real-time applications since the software is extremely
inefficient and not freely available [1].

Intelligent Traffic Signal System Based on Density The


optimization of a city's traffic light controller utilizing IR
sensors and a PIC microprocessor. It was successfully
attempted to reduce the possibility of traffic congestion caused
by traffic signals by adopting this system. The number of
passing vehicles during a specific time period on the road
determines the traffic density range, and a microcontroller
determines the traffic signal delays for the following recording
interval based on the vehicle count. Through connection
between the microcontroller and the computer, the recorded
data may be downloaded to the computer [2].
Fig7.classification of detected vehicle
The projectis a simulation of a four-way intersection in a real-
world situation. The RFID idea is utilized to turn the
ambulance's lane green and so offer a stoppage-free path for the Ⅵ. CONCLUSION
ambulance in the first section, which focused on problems faced
by ambulances. The second section, which focuses on issues This method of traffic detection, which may be used in locations
with Priority vehicles, employs IR transmitters and receivers to with regular traffic and is extremely effective, is very helpful in
turn the vehicles' lane Green and therefore reduce traffic high traffic regions where the traffic cause cannot be determined
congestion. IR transmitter and receiver are utilized to offer by foot. In order to effectively collect the data, we have shown a
dynamic traffic management in the third segment, which is vision-based system for the efficient recognition and counting of
focused on Traffic density control. The project is a simulation moving cars on roadways.
of a four-way intersection in a real-world situation [3]
Ⅶ. REFERENCE

[1] Neeraj K. Kanhere, Stanley T. Birchfield, Wayne A. [13] Koller D. Dandilis K and Nagel H. H. Model Based Object
Sarasua, Tom C. Whitney, Real-time detection and tracking of Tracking in Monocular Image Sequences of Road Traffic
vehicle base fronts for measuring traffic counts and speeds on Scenes. International Journal of Computer Vision, Vol. 10, No.
highways", Transportation Research Record, No. 1993. (2007). 3 1993, pp. 257–281.

[2] Surendra Gupte, Osama Masoud, Robert F. K. Martin, and [14]Haag M. and Nagel H. Combination of Edge Element and
Nikolaos P. Papanikolopoulos, Detection and Classification of Optical Flow Estimate for 3D-Model-Based Vehicle Tracking in
Vehicles, in Proc. IEEE Transactions On Intelligent Traffic Image Sequences. International Journal of Computer
Transportation Systems, Vol. 3, NO. 1, March 2002. Vision, Vol. 35, No. 3 1999, pp. 295–319.

[3] A. J. Kun and Z. Vamossy, "Traffic monitoring with [15] Ferryman J. M. Worrall A. D. and Maybank S. J. Learning
computer vision," Proc. 7th Int. Symp. Applied Machine Enhanced 3D Models for Vehicle Tracking. British Machine
Intelligence and Informatics (SAMI 2009) . Vision Conference, 1998, pp. 873–882.

[4] D. Beymer, P. McLauchlan, B. Coifman, and J. Malik, “A [16] Schlosser C. Reitberger J. and Hinz S. Automatic Car
real-time computer vision system for measuring traffic Detection in High Resolution Urban Scenes Based on an
parameters,” in Proc. IEEE Conf. Computer Vision and Pattern Adaptive 3DModel. EEE/ISPRS Joint Workshop on Remote
Recognition, Puerto Rico, June 1997, pp. 496–501. Sensing and Data Fusion over Urban Areas, Berlin, 2003, pp.
98–107.
[5] K. P. Karmann and A. von Brandt, “Moving object
recognition using an adaptive background memory,” in Proc. [17] Kamijo S. Ikeuchi K. and Sakauchi M. Vehicle Tracking in
Time-Varying Image Processing and Moving Object LowAngle and Front View Images Based on Spatio-Temporal
Recognition,vol. 2, V. Capellini, Ed., 1990. Markov Random Fields. Proc., 8th World Congress on
Intelligent Transportation Systems (ITS), 2001.
[6] Thou-Ho Chen, Jun-Liang Chen, Chin-Hsing Chen and
Chao-Ming Chang, "Vehicle Detection and Counting by Using [18] Beymer D. McLauchlan P. Coifman B. and Malik J. A Real
Headlight Information in the Dark Environment" in IEEE 2007 Time Computer Vision System for Measuring Traffic
International Conference on Intelligent Information Hiding and Parameters. IEEE Conference on Computer Vision and Pattern
Multimedia Signal Processing IIHMSP07, Kaohsiung, Taiwan, Recognition, 1997, pp. 495– 501.
Nov. 26-28, 2007. pp. 519- 522. Page 36 of 37
[19]Saunier N. and Sayed T.T. A Feature-Based Tracking
[7] Nilesh J Uke and Ravindra C Thool, "Cultivating Research Algorithm for Vehicles in Intersections. Proc., 3rd Canadian
in Computer Vision within Graduates and Post-Graduates using Conference on Computer and Robot Vision, June 2006.
Open Source", International Journal of Applied Information
Systems 1(4):1-6, February 2012. [20] Chachich A. Pau A. Barber A. Kennedy K. Oleiniczak E.
Hackney J. Sun Q. and Mireles E. Traffic Sensor Using a Color
[8] Klein L. A. Sensor Technologies and Data Requirements for Vision Method. Proceedings of the International Society for
ITS. Artech House, Boston, Mass., 2001. Optical Engineering, Vol. 2902, Jan. 1997, pp. 156–164

[9] Middleton D. Gopalakrishna D. and Raman M. Advances in


Traffic Data Collection and Management. White paper.
Prepared by Battele, Texas Transportation Institute, and
Cambridge Systematics, Inc., for Office of Policy, FHWA,
Washington, D.C., Jan. 2003.

[10] Gupte S. Masoud O. Martin R. F. K. and Papanikolopoulos


N. P. Detection and Classification of Vehicles. IEEE
Transactions on Intelligent Transportation Systems, Vol. 3, No.
1, March 2002, pp. 37–47.

[11]Daily D. Cathy F. W. and Pumrin S. An Algorithm to


Estimate Mean Traffic Speed Using Uncalibrated Cameras.
IEEE Conference for Intelligent Transportation Systems, 2000,
pp. 98–107.

[12] Koller D. Weber J. and Malik J. Robust Multiple Car


Tracking with Occlusion Reasoning. European Conference on
Computer Vision, 1994, pp. 189–196

You might also like