Professional Documents
Culture Documents
by
1. The thesis submitted is our own original work while completing degree at Brac
University.
3. The thesis does not contain material which has been accepted, or submitted,
for any other degree or diploma at a university or other institution.
i
Approval
The thesis titled “Traffic Congestion Detection and Optimizing Traffic Flow Using
Object Detection, Optical Flow and Fluid Dynamics” submitted by
Of Fall, 2021 has been accepted as satisfactory in partial fulfillment of the require-
ment for the degree of B.Sc. in Computer Science and Engineering on January 20,
2022.
Examining Committee:
Supervisor: (Member)
ii
Abstract
Bangladesh has been suffering a severe traffic congestion issue ever since it has been
on a high paced development roadmap. Researches regarding solving such traffic
issue has been in the talks but has never reached a proper conclusion and far from
implementation. It has slowly grown into a towering challenge to overcome. And
with an aim to topple that tower, we propose a 3 layer architecture to solve this
problem. The proposed model consists of object detection, speed measurement and
decision based on traffic flow. Using neural network object detection algorithms,
it will detect congestion and the speed of the congestion. Then, it will use fluid
dynamics based model to get the traffic flow, pass data between other signals and
provide correct traffic signals. All signals would interact with each other like hive
mind to maximize the traffic flow in any intersection. With the working model we
had at our hand, we ran rigorous experiments to check whether our model works or
not. Our results indicate that our model surpasses all other similarly implemented
models by a noticeably large margin.
iii
Dedication
Dedicated to the people who work hard for the people of this country.
iv
Acknowledgement
Firstly, all praises to the almighty Allah, by whose will we have completed this thesis
without having to face any major issues or interruptions.
Secondly, to our supervisor Dr. Ashraful Alam for guiding us throughout the thesis
and providing us directions and resources, with the help of which, we were finally
able to complete the thesis properly.
And finally to our parents who have supported us right from the beginning and
showed their kindness during our tough times.
v
Table of Contents
Declaration i
Approval ii
Abstract iii
Dedication iv
Acknowledgment v
Table of Contents vi
List of Tables ix
Nomenclature x
1 Introduction 1
1.1 Research Problem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
1.1.1 Motivation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
1.1.2 Research Objectives . . . . . . . . . . . . . . . . . . . . . . . 4
1.2 Thesis Orientation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5
2 Literature Review 6
2.1 Intelligent Traffic System Control (ITSC) . . . . . . . . . . . . . . . . 6
2.2 Used Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
2.3 Related Works . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
3 Methodology 9
3.1 Data Collection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
3.1.1 Object Detection Data . . . . . . . . . . . . . . . . . . . . . . 11
3.1.2 Traffic Simulation Data . . . . . . . . . . . . . . . . . . . . . . 11
3.2 Data Preprocessing . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
vi
3.3 Model Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
3.3.1 Global Speed Detection Algorithm . . . . . . . . . . . . . . . 15
3.4 Fluid Dynamics Approach . . . . . . . . . . . . . . . . . . . . . . . . 16
3.4.1 Mathematical Formulation . . . . . . . . . . . . . . . . . . . . 16
3.4.2 Computational Functions . . . . . . . . . . . . . . . . . . . . . 17
5 Conclusion 28
5.1 Future Works . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
vii
List of Figures
viii
List of Tables
ix
Nomenclature
The next list describes several symbols & abbreviation that will be later used within
the body of the document
AI Artificial Intelligence
BN Bayesian Network
KN N K Nearest Neighbour
LW R Lighthill-Whiteham-Richards Model
x
Chapter 1
Introduction
Traffic congestion is one of the biggest nightmares for any megacity. Our Dhaka city
is no exception to this as it still has manually regulated traffic systems because of
unplanned road design, weak infrastructure and also for reckless drivers who have
no regard for traffic regulations [15]. According to available statistics, Dhaka in-
habitants spend an average of 170 hours per year on the road, [19] resulting in a
staggering loss of BDT 1 million each day [13]. For this sole reason, modernizing
Bangladesh’s traffic management system has become an urgent need.
This paper will go into detail on the approaches used, such as parametric and non-
parametric models. [36]. Non-parametric models can also be considered as a good
alternative options as recent strides in computational capabilities and data quan-
tity. We can now do several researches with not only Long Short Term Memory,
Recurrent Neural Networks, Convolutional Neural Network, Graph CNN but also
1
faster computation with SVM, KNN, Bayesian Network Random forest [6], [7], [12],
[28], [33], [35], [40], [47], [48].
To put in simple terms, the traffic system that Bangladesh currently maintains
doesn’t deem to even be acceptable. The system is broken and unusable. We respect
all the traffic policemen for their contribution, but it simply isn’t in any shape to be
even recovered. It has a very heavy latency due to manual human intervention. Not
to mention the recurring miscommunication, and it is not even the start [15]. They
communicate with their counterparts on each intersection, but the overwhelming
traffic flow becomes infeasible for human interpretation [30]. In addition to that,
fatigue catches up to them quite easily due to rough environment and weather
conditions, and they lose motivation to conduct the traffic flow properly [28]. But if
we can imagine a big centralized AI controlling everything with end to end control,
we can easily avoid all the drawbacks we mentioned above. Of course, it is not just
traffic police that we are considering weakness. The city has heavy concentration
of vehicle, no strict rules, malfunctioning equipments are just to name a few [33].
Either way, we can safely assess that machine based solutions would perform the
greatest optimization for a scenario like this.
2
1.1.1 Motivation
To the following issue, why can’t we adopt IoT-based alternatives? [11], [14], [27],
[29]? Bangladesh has about 3.4 million registered and 3 lacs unregistered cars, ac-
cording to the BRTA database.Almost all of these vehicles lack the necessary modern
technologies for an IoT-based solutions.[10], [37]. However, it is not viable to initi-
ate the process of modernizing automobiles by attaching IoT devices to them right
now. It would not only be an extraordinarily expensive infrastructure, but it will
also be highly unlikely given the country’s current status. [14]. As a result, an
immediate and efficient substitute approach is necessary. With all that in mind,
the question like which appropriate option to select for the best solution emerges.
Is this even possible to find remedies for Dhaka? Yes, considerable study has been
undertaken on this issue in order to select the most appropriate image-based so-
lution customized to the demands of each unique city in order to solve their own
set of traffic challenges.[4], [15], [21], [27], [30], [34], [39], Not only have academics
discovered several methods for analyzing urban flow of traffic, but some methods
have also been substantially deployed.[1], [2], [16].
3
when there is a huge dataset. [46]. It is, in fact, frequently employed in traffic
speed prediction.[39] and traffic flow prediction[34].For these circumstances, a mod-
ified CNN with LSTM is also utilized [35]. This method is applicable among most
urban places, even though in this case, we will just address the traffic issue in Dhaka.
To be more specific, the article covers what we will use and analyze the obtained
data to enable for platform reconfiguration [38] for optimal traffic flow [19]. Accu-
rate forecasts in a complex system like urban traffic flow are a difficult undertak-
ing, especially when random disruptions from the environment are present[12], [26].
Moreover, in this example, meteorological circumstances have a role. [26]. We will
also work past these barriers to develop a strong self-adaptive traffic management
system.
4
1.2 Thesis Orientation
The following chapters of the paper maintains the order as described below: Chapter
2 discusses literature review, the architecture we are looking for and similar in the
field and existing methodologies and gives a strong analysis of the topics and related
information that has relevance with our work. Chapter 3 presents the methodology
of our work which includes the workflow, proposed model and its details inner work-
ings. Chapter 4 is where we practically attempt to build and implement the model
and results of our findings, as well as compare them with similar models of the same
criteria. Finally, Chapter 5 contains the concluding notes of the thesis paper so far
and discusses future plans regarding the thesis.
5
Chapter 2
Literature Review
Solving a complex traffic congestion problem like this is not easy. For this, we looked
into already existing researches regarding the topic. It turns out that approach to
solving traffic congestion is not a novel idea at all. To be precise, there has been at
least a thousand researches conducted solely optimizing traffic flow. Optimization
of traffic flow is not an easy feat, and we also don’t intend to do so. What we want
to achieve is a solution that Bangladesh can easily welcome. Automated solutions
are obviously our main goal but if that requires implementation of infeasible and
expensive infrastructure then it’s safe to say that such a research would go in vain
as the country cannot benefit from it too much. Therefore, IoT based solutions are
to be avoided to implement a feasible solution for the country that is image based
solutions.
To get started with our research, we started searching for documents in popular
site like Scopus, Google Scholar. We search for “Traffic Optimization”, “Intelligent
Traffic Control System”, “Smart Traffic Control”, “Image based Traffic Solution”.
We got a lot of researches and shortlisted to about 1200 documents. Now we went
into advanced filter where we searched for “Image Based Solution”. This helped
us narrowed down to 120 documents. Then we looked for traffic optimization and
traffic solution researches, narrowing down to 80 documents. We also had to remove
some of the false positives that included RFID/IoT/V2I infrastructure. With this
filtration, we managed to drop to 60 researches and article that we deemed worthy
of looking into for our research paper.
6
dynamically and optimize traffic flow. It intercepts traffic condition some signal
cycles ahead and directs the flow accordingly to avoid gridlocks. This system is an
integral part of smart city concepts [19]. Two important concepts are to be noted
here, SCOOT [2] system in Ontario and SCAT [1], both are ITSC concepts, based
on dynamic traffic coordination [37]. These systems are extremely competent in
getting accurate traffic flow.
We will use the following 3 layer architecture for our task that we think would more
than appropriate to have a go at providing optimal solution at our problem.
2. Optical Flow : Speed detection is a crucial part of our system and optical
flow seems the most comfortable choice. Mentioned 5 times in literature review
[18], [19], [45], [12], this model can use frame differencing to calculate global
speed of a group of traffic more specifically, congestion.[48].
7
2.3 Related Works
This section provides a detailed review of previously completed researches where
smart or intelligent traffic models have been implemented. To be precise, we are re-
viewing mostly image based data, but we also review RFID/IoT/V2I infrastructure
where we extracted and tried to bring up relevant information regarding the case
we are solving.
In the past few years, ordinary computers’ computing capabilities have risen dra-
matically, enabling developing and testing numerous RL and DL based algorithms
to handle traffic congestion problems [3], [7]. The first entirely self traffic signal uses
a Q-estimation network to dynamically learn how to control-based on the Cerebellar
Model Articulation Controller (CMAC). [6]. Silva et al. and Oliveira et al. [49] also
presented a context detector in combination with RL. [8].
Nevertheless, in the last 20 years, artificial intelligence and machine learning have
been explored extensively in the domain of traffic light management. [31], [36], [37],
[42], [44]. Mikami et al. introduced a distributed reinforcement learning system
that employs a genetic algorithm, popularly known as the Q-algorithm, to properly
improve a system’s traffic flow. [3]. Later, empirical correlations based on fuzzy
logic and neural networks, such as Bingham’s projected RL for parameter search,
were demonstrated. [4], Choy’s RL-based adaptive large-area cooperative system
[5]. Nevertheless, because processing capacity was insufficient to do such tasks, the
majority of these preliminary works were limited to theoretical fields.
Depending on these studies, a Hybrid Petri Net model [36] was developed that relied
on traffic-dependent phase lighting. Through a control architecture, this was accom-
plished at a reactive level in Bucharest. [28], [34]. In a number of publications, the
topic of smart cities with ITSC integration was also discussed.
Using deep learning approaches [31], [43], the study states [36] an upgraded version
of the presently used ITSC systems that can forecast traffic circumstances 5-10 sig-
nal cycles ahead of time and dynamically change the signal light.
This system is critical to our work since we will be working on producing an opti-
mized version of the recommended architecture with help for overcoming our coun-
try’s technical shortcomings.
8
Chapter 3
Methodology
This research aims to present a deep learning based AI model that can detect con-
gestion and the motion of it, and can predict its next destination. To achieve this,
first we need raw image data that we can use to build our neural network model. We
will need a properly labeled dataset and, using the train set, we will train the model.
Then using motion detection algorithm we will prepare it for the prediction part. To
easily describe our works, we have divided the whole process into 5 sections. These
are:
2. Data Pre-Processing: In this step, we prepared the dataset for our use by
applying some color filter, cropping and other modifications which we assume
will increase the accuracy of tests.
3. Training the Object Detection Model: In this phase, we will train and
test the object detection model, which will be later used for congestion detec-
tion.
9
Figure 3.1: Workflow diagram of the proposed model
10
4. Adding Flow Detection: Here, we use the optical flow model to detect the
traffic flow, which will help us detect the congestion.
5. Add the optimization module: In this stage, we add a LWR traffic flow
model
11
models already in existence. For this module, we decided to collect first-hand data
by going to several over bridges of Dhaka city and recording 4 sided footage. Since
over bridges are usually close to an intersection, it represents a more suitable po-
sition of where actual CCTV cameras would be. We opted for video data for this
phase, since we will only be doing inferencing to check the accuracy of our model.
Following is a brief overview of our collected dataset.
1. Cropping and Resizing: The images were captured with either camera or
smartphone, the framing of which does not match with CCTV format. Since
our goal is applying this model for surveillance systems, we cropped and resized
the image to appropriate format, removing unnecessary parts, only keeping the
road in focus.
4. Re-Annotating the Images: Since we cropped the images for more focused
and narrow field of view, we had to re-annotate some images.
12
this we used the same online tool, Roboflow, that we also used for our image
manipulation in the above steps.
As we can see some preprocessing steps might require us to remove some images
which don’t provide required information for the model and may decrease the ac-
curacy of the model, after these preprocessing steps our dataset now looks like the
following:
13
Although we chose the whole dataset for our training, we decided to collect primary
data later on for the cross validation and inferential statistics.
detected vehicle, the model decides whether there is congestion on the road or
not.
14
2. Flow Detection Layer: If there is congestion, the model then proceeds to
detect motion of the vehicle (ultimately the whole congestion). This layer is
built using a modified LK Optical Flow model. This can detect vehicle motion
by frame differencing and interpolation of pixels. The mathematical formula
that is working in LK Optical [23]:
N
1 X
SR = (F Mi > TF M ) (3.2)
N i=1
[23]
3. Numerical Simulation Model: For this layer, we will be using the LWR
model. The LWR model used the fluid dynamics approach to describe traffic
flow in a single road[17]. This scalar hyperbolic conservation law can predict
the flow of the traffic. More described below.
15
Global Speed Detection Algorithm [23]
1. Using LK Optical Flow method, we can differentiate the
frame’s from first frame to the next (from πtoπ + 1). Using the similar function,
we can denote as πr from the position of π + 1.
for i = 1; i ≤ n; i++
do
if d = |π − πr| < Td
then:
retain pi
else:
discard pi
# construct a coordinate, computing θ with respect to π → π + 1
if 90 ≤ 0 ≤ 140,
then:
reserve corner point
else:
discard corner point
done:
# Compute mean value of N frame speed as global vehicle speed V
Here, ρ ϵ [0, ρmax ] defines the density at place and x and time t, max indicating
maximum possible density. Moreover, q also represents the vehicles flux (number of
vehicles across a point in a unit time). We can calculate flux using:
q(ρ) = ρv (3.5)
16
ρ
v (ρ) = 1 − (3.6)
ρmax
vm ax represents maximum speed where ρ approaches 0
Therefore, the model approaches to define an initial-value problem (Riemann Prob-
lem),
ρ , f orx ≤ x
L 0
(3.7)
ρ , f orx > x
R 0
δx
δt ≤ minj=1,...,M ρn
(3.8)
|1 − j
ρmax
|vmax ρnj
The probable solutions can be mapped in the following table, the Riemann solution
for the LWR model[17],
n+1/2
Case Structure Of The Solution ρj+1/2
ρj ≥ ρj & ρnj < ρmax /2
n n
Rarefaction wave heading to the right ρnj
ρnj ≥ ρmax /2 & ρnj+1 ≤ ρmax /2 Rarefaction wave heading to the left ρmax /2
ρnj ≥ ρnj+1 & ρnj+1 ≥ ρmax /2 Rarefaction wave to both direction ρnj+1
ρnj < ρnj+1 & ρnj + ρnj+1 ≤ ρmax Shock wave heading to the right ρnj
ρnj < ρnj+1 & ρnj + ρnj+1 > ρmax Shock wave heading to the left ρnj+1
These 3 modules are key part of our traffic simulation system. Since we solely are
relying on the architecture at hand, we strongly assert that the system we are aiming
for will not only be highly modular but also provide significant results in various
tech stack prepared for real time traffic simulation and intelligent traffic systems[9].
17
Chapter 4
So far, we have discussed how the model works theoretically and approaches that
should be taken into account to get optimal results. In this section, we proceed
to implement the models practically to build the actual ITS with self adaptive re
correction capabilities. We will try to some extent to mimic the behavior, however
we won’t approach to completely build the model as it is not possible given the
resources we had at hand during these implementations.
18
finite method for the model that we formulated and described in this section
3.4.2, we can an estimated simulation of traffic and implement the prediction
model.[24]
It took us approximately 6 hours to complete all 100 epochs. We logged our data
using an online tool, and kept track of the results that we were getting.
The summary of our achieved results are described in the table below 4.2:
19
Table 4.2: Validation Set Results
20
Figure 4.3: Validation Loss
21
After the 100th epoch, we saw a sudden and unexpected drop in accuracy for the next
few epochs. But after that the graph stabilized. But we didn’t see any better results
than the 100th epoch provided. After 10 more epochs, we noticed the validation
loss gradient was 0. Meaning, the model wasn’t improving any more and after 10
more epochs we noticed an increase in the validation loss graph, indicating that the
model has started to overfit. Thus, we proceeded with the model that we received
after 100th epoch, which we deem has the best accuracy of 82.11%. The precision
gradient over time can be seen in 4.4.
Of course, providing additional data would most certainly improve the F1-score.
However, we didn’t bother to invest any more of our time for this layer, as greater
than 80% is satisfactory for our purpose.
22
4.3 Optical Flow Layer
In combination with YOLOv5, LK Optical flow can provide the global speed of ve-
hicles using frame differentiation, It can be more clearly seen in the figure below:
Using this algorithm along with YOLOv5, we can run some inferencing on our col-
lected dataset, the results are described in comparison with a previous test in table
4.3 we get the demonstration of our achieved results in the figure 4.6.
Visibly, we can detect a vehicle’s speed from this data and send this data to Numer-
ical Simulations Layer for further actions. Since, the LWR model requires density
and local speed, we have all the necessary data to get an estimated simulation and
gather prediction data.
23
4.4 Numerical Simulations Layer
With the initial problem given Riemann problem, defined in 3.4.2, the convergence
of finite volume method for solving LWR model, we can calculate the norm error
values from the formulation provided by Erwin B. Setiwan et al., where L2 is the
error ratios,
Z l
||ρ(x, t) − ρexact (x, t)||L2 = ( [ρ (x, t) − ρexact (x, t)]2 dx) (4.1)
0
The benefit of calculating the L2 norm values is that we can get an estimation of
errors before hand. By calculating the error we can adjust the offset of our model.
This will widely vary based on the results the previous 2 layers provide.
If we run this consecutively for our test dataset, we can see how the traffic signals
work during different traffic load. Based on the achieved ration, the traffic lights
will act accordingly to adjust traffic flow.
ρ , if (x − x0 )/t < λ(ρL )
L
1
ρ (1 − vx−x
2 max
0
max t
), if λ(ρL ) < (x − x0 )/t < λ(ρL ) (4.3)
ρ , if (x − x )/t > λ(ρ )
R 0 L
24
We have recorded our test results in table 4.4:
Table 4.4: L2 norm values
In the figure 4.7, we have tried to show a simplified version of our recorded results.
We have used the finite volume method against the exact solution. As you can notice
in the figure that it varies significantly when shock waves and rarefaction waves are
registered.
These results are a numeric representation of what we would call congestion and
flow. Of course, it does not seem as intuitive at first glance because it is solely
purposed for machines to operate on this data. Additionally, we will have a closer
look at how the traffic light simulation will work in the next section.
25
our YOLOv5 model signals that it detects congestion because the vehicle numbers
have passed a certain value. First, let us define the initial variables in table 4.5,
Variable Parameter
l Length of computation domain
ρl Vehicles flux
vmax Max Speed
vR Vehicle Speed
ρ0 Initial Density
ρmax Max Density
δt Time Step
δx Cell Size
Assume a hypothetical sceniario such as the figue 4.8At ρ0 , we have our traffic signal
giving red. Because our object detection layer is not detecting any congestion. As
time passes, ρ0 → ρmax , our object detector model wakes up the optical flow model
for a scan. Now, if the cars are to flow at a given satisfactory speed, it is safe to
assume that the pile up hasn’t occurred yet. However, given, the optical flow layer
detects low speed, meaning vr = 0 , then the numerical simulations model will be
triggered.
With the trigger of the numerical simulation model, it gathers the real time data
from other traffic around it. If the other lights have been dormant for a while, it
seeks for the latest data. With the data collected, the simulation model can simulate
traffic flow and seek for vR = vmax and ρmax → ρ0 .
We can expand this problem to more than one traffic light without any major com-
plications. These traffic lights can communicate with each other and will try to find
26
out the most optimal route for each case. No, traffic light will show green at the
same time because, it will only react to the lane with maximum flow.
27
Chapter 5
Conclusion
28
Bibliography
29
[10] L. Xiao and Z. Wang, “Internet of things: A new application for intelligent
traffic monitoring system,” Journal of networks, vol. 6, no. 6, p. 887, 2011.
[11] L. Hernández, C. Baladrón, J. M. Aguiar, et al., “A study of the relation-
ship between weather variables and electric power demand inside a smart
grid/smart world framework,” Sensors, vol. 12, no. 9, pp. 11 571–11 591, 2012.
[12] D. Stefanoiu, J. Culita, and F. Tudor, Experimental approaches in process and
phenomena identification, 2012.
[13] M. S. Ali, M. Adnan, S. M. Noman, and S. F. A. Baqueri, “Estimation of
traffic congestion cost-a case study of a major arterial in karachi,” Procedia
Engineering, vol. 77, pp. 37–44, 2014.
[14] A. Nkoro and Y. A. Vershinin, “Current and future trends in applications of
intelligent transport systems on cars and infrastructure,” in 17th International
IEEE Conference on Intelligent Transportation Systems (ITSC), IEEE, 2014,
pp. 514–519.
[15] P. S. Paul et al., “Traffic density estimation and flow control for video surveil-
lance system,” Ph.D. dissertation, BRAC University, 2014.
[16] Y. Yuan, H. Van Lint, F. Van Wageningen-Kessels, and S. Hoogendoorn,
“Network-wide traffic state estimation using loop detector and floating car
data,” Journal of Intelligent Transportation Systems, vol. 18, no. 1, pp. 41–50,
2014.
[17] E. B. Setiawan, D. Tarwidi, and R. F. Umbara, “Numerical simulation of
traffic flow via fluid dynamics approach,” International Journal of Computing
and Optimization, no. 3, pp. 93–104, 2015.
[18] Y. Ding and X. Fu, “Kernel-based fuzzy c-means clustering algorithm based
on genetic algorithm,” Neurocomputing, vol. 188, pp. 233–238, 2016.
[19] K. Nellore and G. P. Hancke, “A survey on urban traffic management system
using wireless sensor networks,” Sensors, vol. 16, no. 2, p. 157, 2016.
[20] J. Redmon, S. Divvala, R. Girshick, and A. Farhadi, “You only look once:
Unified, real-time object detection,” in Proceedings of the IEEE conference on
computer vision and pattern recognition, 2016, pp. 779–788.
[21] A. Ranjan and M. J. Black, “Optical flow estimation using a spatial pyra-
mid network,” in Proceedings of the IEEE conference on computer vision and
pattern recognition, 2017, pp. 4161–4170.
[22] J. Sochor, R. Juránek, and A. Herout, “Traffic surveillance camera calibration
by 3d model bounding box alignment for accurate vehicle speed measurement,”
Computer Vision and Image Understanding, vol. 161, pp. 87–98, 2017.
30
[23] J. Huang, W. Zou, J. Zhu, and Z. Zhu, “Optical flow based real-time moving
object detection in unconstrained scenes,” arXiv preprint arXiv:1807.04890,
2018.
[24] ——, “Optical flow based real-time moving object detection in unconstrained
scenes,” arXiv preprint arXiv:1807.04890, 2018.
[25] J. Redmon and A. Farhadi, “Yolov3: An incremental improvement,” arXiv
preprint arXiv:1804.02767, 2018.
[26] B. Deb, S. R. Khan, K. T. Hasan, A. H. Khan, and M. A. Alam, “Travel time
prediction using machine learning and weather impact on traffic conditions,”
in 2019 IEEE 5th International Conference for Convergence in Technology
(I2CT), IEEE, 2019, pp. 1–8.
[27] E. Ferrara, L. Fragale, G. Fortino, et al., “An ai approach to collecting and
analyzing human interactions with urban environments,” IEEE Access, vol. 7,
pp. 141 476–141 486, 2019.
[28] W. Ghazali, C. Zulkifli, and Z. Ponrahono, “The effect of traffic congestion
on quality of community life,” in 4th International Conference on Rebuilding
Place. The European Proceedings of Multidisciplinary Sciences, 2019, pp. 759–
766.
[29] W. H. Money and S. Cohen, “Leveraging ai and sensor fabrics to evolve smart
city solution designs,” in Companion Proceedings of The 2019 World Wide
Web Conference, 2019, pp. 117–122.
[30] D. Impedovo, F. Balducci, V. Dentamaro, and G. Pirlo, “Vehicular traffic
congestion classification by visual features and deep learning approaches: A
comparison,” Sensors, vol. 19, no. 23, p. 5213, 2019.
[31] A. Miglani and N. Kumar, “Deep learning models for traffic flow prediction
in autonomous vehicles: A review, solutions, and challenges,” Vehicular Com-
munications, vol. 20, p. 100 184, 2019.
[32] ——, “Deep learning models for traffic flow prediction in autonomous vehi-
cles: A review, solutions, and challenges,” Vehicular Communications, vol. 20,
p. 100 184, 2019.
[33] S. Ramteke and B. Gite, “Ai based traffic signal control system,” Traffic, vol. 6,
no. 11, 2019.
[34] W. Zhang, Y. Yu, Y. Qi, F. Shu, and Y. Wang, “Short-term traffic flow pre-
diction based on spatio-temporal analysis and cnn deep learning,” Transport-
metrica A: Transport Science, vol. 15, no. 2, pp. 1688–1711, 2019.
31
[35] T. Bogaerts, A. D. Masegosa, J. S. Angarita-Zapata, E. Onieva, and P. Hellinckx,
“A graph cnn-lstm neural network for short and long-term traffic forecasting
based on trajectory data,” Transportation Research Part C: Emerging Tech-
nologies, vol. 112, pp. 62–77, 2020.
[36] J. Culita, S. I. Caramihai, I. Dumitrache, M. A. Moisescu, and I. S. Sacala,
“An hybrid approach for urban traffic prediction and control in smart cities,”
Sensors, vol. 20, no. 24, p. 7209, 2020.
[37] K. S. Desikan, V. J. Kotagi, and C. S. R. Murthy, “Topology control in
fog computing enabled iot networks for smart cities,” Computer Networks,
vol. 176, p. 107 270, 2020.
[38] A. Essien, I. Petrounias, P. Sampaio, and S. Sampaio, “A deep-learning model
for urban traffic flow prediction with traffic events mined from twitter,” World
Wide Web, pp. 1–24, 2020.
[39] R. Ke, W. Li, Z. Cui, and Y. Wang, “Two-stream multi-channel convolutional
neural network for multi-lane traffic speed prediction considering traffic volume
impact,” Transportation Research Record, vol. 2674, no. 4, pp. 459–470, 2020.
[40] J. J. Vázquez, J. Arjona, M. Linares, and J. Casanovas-Garcia, “A comparison
of deep learning methods for urban traffic forecasting using floating car data,”
Transportation Research Procedia, vol. 47, pp. 195–202, 2020.
[41] J. Wang, J. Li, S. Yan, et al., “A novel underwater acoustic signal denoising
algorithm for gaussian/non-gaussian impulsive noise,” IEEE Transactions on
Vehicular Technology, vol. 70, no. 1, pp. 429–445, 2020.
[42] P. Xie, T. Li, J. Liu, S. Du, X. Yang, and J. Zhang, “Urban flow prediction from
spatiotemporal data using machine learning: A survey,” Information Fusion,
vol. 59, pp. 1–12, 2020.
[43] C. Zhang, “Design and application of fog computing and internet of things ser-
vice platform for smart city,” Future Generation Computer Systems, vol. 112,
pp. 630–640, 2020.
[44] R. Zhang, A. Ishikawa, W. Wang, B. Striner, and O. K. Tonguz, “Using re-
inforcement learning with partial vehicle detection for intelligent traffic signal
control,” IEEE Transactions on Intelligent Transportation Systems, 2020.
[45] A. H. Ahmed and L. Z. Fragonara, “Adaptive intelligent traffic control systems
for improving traffic quality and congestion in smart cities,” 2021.
[46] M. Akhtar and S. Moridpour, “A review of traffic congestion prediction using
artificial intelligence,” Journal of Advanced Transportation, vol. 2021, 2021.
32
[47] S. Majumdar, M. M. Subhani, B. Roullier, A. Anjum, and R. Zhu, “Con-
gestion prediction for smart sustainable cities using iot and machine learning
approaches,” Sustainable Cities and Society, vol. 64, p. 102 500, 2021.
[48] X. Yang, F. Wang, Z. Bai, F. Xun, Y. Zhang, and X. Zhao, “Deep learning-
based congestion detection at urban intersections,” Sensors, vol. 21, no. 6,
p. 2052, 2021.
[49] F. Zhou, H. Zhao, and Z. Nie, “Safety helmet detection based on yolov5,” in
2021 IEEE International Conference on Power Electronics, Computer Appli-
cations (ICPECA), IEEE, 2021, pp. 6–11.
33