SlideShare a Scribd company logo
International Journal of Trend in Scientific Research and Development (IJTSRD)
Volume 6 Issue 2, January-February 2022 Available Online: www.ijtsrd.com e-ISSN: 2456 – 6470
@ IJTSRD | Unique Paper ID – IJTSRD49401 | Volume – 6 | Issue – 2 | Jan-Feb 2022 Page 1195
Traffic Congestion Detection Using Deep Learning
Anusha C1
, Dr. J. Bhuvana2
1
Student, 2
MCA Coordinator,
1,2
Department of Master of Computer Applications School of Computer Science & IT,
Jain deemed to be University, Bengaluru, Karnataka, India
ABSTRACT
Despite the huge amount of traffic surveillance videos and images
have been accumulated in the daily monitoring, deep learning
approaches have been underutilized in the application of traffic
intelligent management and control. Traffic images, including
various illumination, weather conditions, and vast scenarios are
considered and preprocessed to set up a proper training dataset. In
order to detect traffic congestion, a network structure is proposed
based on residual learning to be pre-trained and fine-tuned. The
network is then transferred to the traffic application and retrained
with self-established training dataset to generate the Traffic Net. The
accuracy of Traffic Net to classify congested and uncongested road
states reaches 99% for the validation dataset and 95% for the testing
dataset. The trained model is stored in cloud storage for easy access
for application from anywhere. The proposed Traffic Net can be used
by a regional detection of traffic congestion on a large-scale
surveillance system. The effectiveness and efficiencies are
magnificently demonstrated with quick detection in the high accuracy
in the case study. The experimental trial could extend its successful
application to traffic surveillance system and has potential
enhancement for intelligent transport system in future.
How to cite this paper: Anusha C | Dr. J.
Bhuvana "Traffic Congestion Detection
Using Deep Learning" Published in
International
Journal of Trend in
Scientific Research
and Development
(ijtsrd), ISSN: 2456-
6470, Volume-6 |
Issue-2, February
2022, pp.1195-
1197, URL:
www.ijtsrd.com/papers/ijtsrd49401.pdf
Copyright © 2022 by author (s) and
International Journal of Trend in
Scientific Research and Development
Journal. This is an
Open Access article
distributed under the
terms of the Creative Commons
Attribution License (CC BY 4.0)
(http://creativecommons.org/licenses/by/4.0)
INTRODUCTION
With fast development of deep learning-based
approaches, theyhave been shown applicable to many
different image recognition tasks in clinical diagnosis,
robotics and so on. However, it is surprised that few
successful applications in the transportation system
have been reported, especially in consideration of
huge amount traffic video and image using in
monitoring the urban road network and freeway.
According to the current situation, most of the
cameras play their roles as passive monitory but
cannot automatically detect the congestion on time.
The detection of congestion mainly relies on lots of
manpower to report congestion manually when it
happens randomly in the road network. It is extremely
tedious and time-consuming to keep watching all the
day and identify congestion from the current
surveillance system using in traffic monitoring hall.
Furthermore, it is impossible to watch all the cameras
relies on human eyes considering numerous cameras
covering a large-scale region using in the freeway.
However, prompt detection of the traffic congestion
in large-scale region is important. Prompt detection
can prevent extended congestion with devastating
evolution from the initial controllable traffic
congestion, which is one of the important applications
in intelligent transport system (ITS). In order to detect
the road state of congestion, commercial video
detector, vehicle detector, and other equipment are
developed and installed. However, high-cost of those
equipment limits their application. The expensive
supercomputer is also needed to process cameras
local in large-scale region simultaneously. The
transmission and computation of the continuous video
record consume lots of equipment costs and electrical
resources. The processing is uninterruptedly
conducted so the high-performance computer is
needed to meet the requirement of real-time
application. Seeing that the remarkable improvement
of the deep learning approaches emerges in those
days, it is worth to investigate the image-based
detection and extend it to the practical application .
In order to meet the requirement of the practical
application, spatial and temporal information of
congestion occurrence is vital for subsequence precise
IJTSRD49401
International Journal of Trend in Scientific Research and Development @ www.ijtsrd.com eISSN: 2456-6470
@ IJTSRD | Unique Paper ID – IJTSRD49401 | Volume – 6 | Issue – 2 | Jan-Feb 2022 Page 1196
regional traffic management and control. With
accurate detection of congestion incorporated with
spatial and temporal information, the overall
distribution of traffic congestion in a region could be
sorted out. That multiple dimensional information
could be then compounded and reported from
cameras in a large-scale range using in regional
surveillance systems and automatically visualize the
congestion area to assist people watching the monitor
system more efficiently.
RELATED WORKS
Deep learning algorithms have the potential
implementation meanings to be intensely used in
many fields of the transportation system, from traffic
flow prediction to traffic congestion recognition.
Classification of traffic condition is one of the most
important parts of an ITS , which can be widely
utilized in traffic control strategies, traffic flow
analysis and so on.
In terms of traditional machine learning-based
method, K-nearest neighbor (KNN) was commonly
used to classify images. Support vector machine
(SVM) was also used for classifying hyper spectral
images with satisfactory results [13]. All those
traditional image processing methods were hard to
use in the classification of traffic images in
consideration of various scenarios and disturbances.
Deep learning approaches have been dramatically
improved with high-performed computer emerged.
Classification method shifted its research direction
into the deep learning-based method and moved to
artificial intelligence (AI) level. Deep learning
method conquered the shortcoming of traditional
machine learning algorithms, which rely on hand-
designed features. Convolutional neural network
(CNN) and recurrent neural network (RNN) are
successful examples of supervised deep learning
algorithms, which require a considerable amount of
training data. In recent years, the CNN-based model
appeared as a powerful framework for feature
extraction and recognition dominated various image
tasks. . In 2012, AlexNet using CNN-based has
intensely improved with deep learning algorithm
which has been successfully used in the famous
image competition ILSVRC . Since then, CNN-based
in image recognition has been widely used and
became popular in image recognition and visual
learning. At the same time, people adopt GPU to
solve the problem of training in big data size. VGG
networks [28] with more layers of CNN achieved a
better result than the previous approaches.
LITRETURE REVIEW
During the last few decades, significant research
efforts have been devoted to using closed-circuit
television (CCTV) cameras to determine real-time
traffic parameters such as volume, density, and speed
(12, 13). These methods can be broadly divided into
three categories: (a) detection-based methods, (b)
motion-based methods, and (c) holistic approaches.
Detection-based methods use individual video frames
to identify and localize vehicles and thereby perform
a counting task. Ozkurt and Camci used neural
network methods to perform vehicle counting and
classification tasks from video records (6). Kalman
filter-based background estimation has also been used
to estimate vehicle density (14). In addition, faster
recurrent convolution neural networks (RCNNs) have
been used for traffic density calculation (15).
However, these were found to perform poorly for
videos with low resolution and high occlusion. Recent
achievements in deep learning methods in image
recognition tasks have led to several such methods
being used for traffic counting tasks.
Several motion-based methods have been suggested
in the literature to estimate traffic flow utilizing
vehicle tracking information. Asmaa et al. used
microscopic parameters extracted using motion
detection in a video sequence (18). However, these
methods tend to fail due to lack of motion
information and low frame rates of videos; some
vehicles appear only once in a video, making it
difficult to estimate their trajectories. Holistic
approaches avoid the segmentation of each object.
Rather, an analysis is performed on the whole image
to estimate the overall traffic state.
Overall, significant studies have been conducted in
the past using various deep learning models to
implement vehicle counting tasks and thereby
determine congestion states.
METHODOLGY
Dataset collection
Image pre-processing
Training using Convolutional 2D neural network
Cloud Storage
Recognition
DATASET COLLECTION
Different classes of input traffic scene images are
collected from web. The class value output of scenes
are given along with dataset image collection. We
have created four folders namely sparse_traffic,
dense_traffic, fire, accident, every folder contains
images of 900 for train and validation purposes. The
folder name itself represent the class value for
classification output.
International Journal of Trend in Scientific Research and Development @ www.ijtsrd.com eISSN: 2456-6470
@ IJTSRD | Unique Paper ID – IJTSRD49401 | Volume – 6 | Issue – 2 | Jan-Feb 2022 Page 1197
IMAGE PRE-PROCESSING
There is no much pre-processing required in this
implementation. The training and test dataset is
classified in different folder is given as input using a
function fro keras " flow_from_directory". This gives
necessary pre-process such as dimension reductions.
Similarly, the input image for test input is dimension
reduction and converting to numpy array.
TRAINING USING CONVOLUTIONAL 2D
NEURAL NETWORK
We used convolutional 2D neural network available
in keras for traing and testing our model.
CLOUD STORAGE
The trained model is stored in cloud, which can be
accessed by the user from any location. The cloud
used for the storage and retrieval is drivehq.com. The
authentication keys are passed to the system for
accessing the data. Through file transfer protocol to
access the trained model.
RECOGNITION
Finally, we pass the validation or test data to the fit
function, the input image is convereted to numpy
array and compared with trained model to get the
classified output namely dense_traffic, sparse_traffic,
fire or accident.
CONCLUSION
In order to promote the application of the deep
learning approaches into transportation application,
the theoretical network is specialized to automatically
detect road state of congestion. This is proposed to
bridge the current advanced deep learning approaches
and practical application. We proposed Convolutional
Neural Network (CNN) for training and validation.
We considered as multi class problem. However, the
detection accuracy for the new input images is not as
high as that of the validation set.
ACKNOWLEDGMENT
I should convey my real tendency and obligation to
Dr MN Nachappa and Dr. J. Bhuvana undertaking
facilitators for their effective steerage and consistent
inspirations all through my assessment work. Their
ideal bearing, absolute co-action and second
discernment have made my work gainful.
REFERENCES
[1] H. Lei et al., ``A deeply supervised residual
network for HEp-2 cell classification via cross-
modal transfer learning,'' Pattern Recognit., vol.
79, pp. 290302, Jul. 2018.
[2] P. Wang, L. Li, Y. Jin, and G. Wang,
``Detection of unwanted traffic congestion
based on existing surveillance system using in
freeway via a CNN-architecture trafficNet,'' in
Proc. 13th IEEE Conf. Ind. Electron. Appl.,
May/Jun. 2018, pp. 11341139.
[3] X. Zhu, Y. Wang, J. Dai, L. Yuan, and Y. Wei,
``Flow-guided feature aggregation for video
object detection,'' in Proc. ICCV, Mar. 2017,
pp. 408417.
[4] Z. Zhao, W. Chen, X. Wu, P. C. Chen, and J.
Liu, ``LSTM network: A deep learning
approach for short-term traffic forecast,'' IET
Intell. Transp. Syst., vol. 11, no. 2, pp. 6875,
Mar 2017.

More Related Content

PDF
Inspection of Suspicious Human Activity in the Crowd Sourced Areas Captured i...
PDF
Vision-Based Motorcycle Crash Detection and Reporting Using Deep Learning
PDF
Automatic Detection of Unexpected Accidents Monitoring Conditions in Tunnels
PDF
An Analysis of Various Deep Learning Algorithms for Image Processing
PDF
Real Time Object Identification for Intelligent Video Surveillance Applications
PDF
A REVIEW ON IMPROVING TRAFFIC-SIGN DETECTION USING YOLO ALGORITHM FOR OBJECT ...
PDF
Moving objects detection based on histogram of oriented gradient algorithm ch...
PDF
ROAD SIGN DETECTION USING CONVOLUTIONAL NEURAL NETWORK (CNN)
Inspection of Suspicious Human Activity in the Crowd Sourced Areas Captured i...
Vision-Based Motorcycle Crash Detection and Reporting Using Deep Learning
Automatic Detection of Unexpected Accidents Monitoring Conditions in Tunnels
An Analysis of Various Deep Learning Algorithms for Image Processing
Real Time Object Identification for Intelligent Video Surveillance Applications
A REVIEW ON IMPROVING TRAFFIC-SIGN DETECTION USING YOLO ALGORITHM FOR OBJECT ...
Moving objects detection based on histogram of oriented gradient algorithm ch...
ROAD SIGN DETECTION USING CONVOLUTIONAL NEURAL NETWORK (CNN)

Similar to Traffic Congestion Detection Using Deep Learning (20)

PDF
Vehicle Speed Estimation using Haar Classifier Algorithm
PDF
Real-Time Mobile App Traffic Sign Recognition with YOLOv10 and CNN for Drivin...
PDF
IRJET- Estimation of Crowd Count in a Heavily Occulated Regions
PDF
Design and Implementation of Smart congestion control system
PDF
Satellite Image Classification with Deep Learning Survey
PPTX
Rajdeep Tiwary akjefbhwehufoaew PPT.pptx
PDF
IRJET- A Survey on Human Action Recognition
PDF
Performance investigation of two-stage detection techniques using traffic lig...
PDF
A Video Processing based System for Counting Vehicles
PDF
IRJET - An Intelligent Pothole Detection System using Deep Learning
PDF
ROAD POTHOLE DETECTION USING YOLOV4 DARKNET
PDF
IRJET- Car Defect Detection using Machine Learning for Insurance
PDF
Enhancing video anomaly detection for human suspicious behavior through deep ...
PDF
Traffic Monitoring Using Visual Big Data Analytics in Smart Cities
PDF
Real time vehicle counting in complex scene for traffic flow estimation using...
PPTX
fdfdsfs sfsfsfsffdfdsfdfsfsfsfsfsdfdsfsdfdsfsdfdsf
PDF
People Monitoring and Mask Detection using Real-time video analyzing
PDF
Secure IoT Systems Monitor Framework using Probabilistic Image Encryption
PDF
IRJET - Autonomous Navigation System using Deep Learning
PDF
Advance Intelligent Video Surveillance System Using OpenCV
Vehicle Speed Estimation using Haar Classifier Algorithm
Real-Time Mobile App Traffic Sign Recognition with YOLOv10 and CNN for Drivin...
IRJET- Estimation of Crowd Count in a Heavily Occulated Regions
Design and Implementation of Smart congestion control system
Satellite Image Classification with Deep Learning Survey
Rajdeep Tiwary akjefbhwehufoaew PPT.pptx
IRJET- A Survey on Human Action Recognition
Performance investigation of two-stage detection techniques using traffic lig...
A Video Processing based System for Counting Vehicles
IRJET - An Intelligent Pothole Detection System using Deep Learning
ROAD POTHOLE DETECTION USING YOLOV4 DARKNET
IRJET- Car Defect Detection using Machine Learning for Insurance
Enhancing video anomaly detection for human suspicious behavior through deep ...
Traffic Monitoring Using Visual Big Data Analytics in Smart Cities
Real time vehicle counting in complex scene for traffic flow estimation using...
fdfdsfs sfsfsfsffdfdsfdfsfsfsfsfsdfdsfsdfdsfsdfdsf
People Monitoring and Mask Detection using Real-time video analyzing
Secure IoT Systems Monitor Framework using Probabilistic Image Encryption
IRJET - Autonomous Navigation System using Deep Learning
Advance Intelligent Video Surveillance System Using OpenCV
Ad

More from ijtsrd (20)

PDF
A Study of School Dropout in Rural Districts of Darjeeling and Its Causes
PDF
Pre extension Demonstration and Evaluation of Soybean Technologies in Fedis D...
PDF
Pre extension Demonstration and Evaluation of Potato Technologies in Selected...
PDF
Pre extension Demonstration and Evaluation of Animal Drawn Potato Digger in S...
PDF
Pre extension Demonstration and Evaluation of Drought Tolerant and Early Matu...
PDF
Pre extension Demonstration and Evaluation of Double Cropping Practice Legume...
PDF
Pre extension Demonstration and Evaluation of Common Bean Technology in Low L...
PDF
Enhancing Image Quality in Compression and Fading Channels A Wavelet Based Ap...
PDF
Manpower Training and Employee Performance in Mellienium Ltdawka, Anambra State
PDF
A Statistical Analysis on the Growth Rate of Selected Sectors of Nigerian Eco...
PDF
Automatic Accident Detection and Emergency Alert System using IoT
PDF
Corporate Social Responsibility Dimensions and Corporate Image of Selected Up...
PDF
The Role of Media in Tribal Health and Educational Progress of Odisha
PDF
Advancements and Future Trends in Advanced Quantum Algorithms A Prompt Scienc...
PDF
A Study on Seismic Analysis of High Rise Building with Mass Irregularities, T...
PDF
Descriptive Study to Assess the Knowledge of B.Sc. Interns Regarding Biomedic...
PDF
Performance of Grid Connected Solar PV Power Plant at Clear Sky Day
PDF
Vitiligo Treated Homoeopathically A Case Report
PDF
Vitiligo Treated Homoeopathically A Case Report
PDF
Uterine Fibroids Homoeopathic Perspectives
A Study of School Dropout in Rural Districts of Darjeeling and Its Causes
Pre extension Demonstration and Evaluation of Soybean Technologies in Fedis D...
Pre extension Demonstration and Evaluation of Potato Technologies in Selected...
Pre extension Demonstration and Evaluation of Animal Drawn Potato Digger in S...
Pre extension Demonstration and Evaluation of Drought Tolerant and Early Matu...
Pre extension Demonstration and Evaluation of Double Cropping Practice Legume...
Pre extension Demonstration and Evaluation of Common Bean Technology in Low L...
Enhancing Image Quality in Compression and Fading Channels A Wavelet Based Ap...
Manpower Training and Employee Performance in Mellienium Ltdawka, Anambra State
A Statistical Analysis on the Growth Rate of Selected Sectors of Nigerian Eco...
Automatic Accident Detection and Emergency Alert System using IoT
Corporate Social Responsibility Dimensions and Corporate Image of Selected Up...
The Role of Media in Tribal Health and Educational Progress of Odisha
Advancements and Future Trends in Advanced Quantum Algorithms A Prompt Scienc...
A Study on Seismic Analysis of High Rise Building with Mass Irregularities, T...
Descriptive Study to Assess the Knowledge of B.Sc. Interns Regarding Biomedic...
Performance of Grid Connected Solar PV Power Plant at Clear Sky Day
Vitiligo Treated Homoeopathically A Case Report
Vitiligo Treated Homoeopathically A Case Report
Uterine Fibroids Homoeopathic Perspectives
Ad

Recently uploaded (20)

PDF
O7-L3 Supply Chain Operations - ICLT Program
PPTX
202450812 BayCHI UCSC-SV 20250812 v17.pptx
PDF
Anesthesia in Laparoscopic Surgery in India
PDF
VCE English Exam - Section C Student Revision Booklet
PPTX
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
PPTX
Presentation on HIE in infants and its manifestations
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PDF
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PPTX
Lesson notes of climatology university.
PDF
FourierSeries-QuestionsWithAnswers(Part-A).pdf
PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
Microbial disease of the cardiovascular and lymphatic systems
PDF
Computing-Curriculum for Schools in Ghana
PDF
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
PPTX
Cell Types and Its function , kingdom of life
O7-L3 Supply Chain Operations - ICLT Program
202450812 BayCHI UCSC-SV 20250812 v17.pptx
Anesthesia in Laparoscopic Surgery in India
VCE English Exam - Section C Student Revision Booklet
Tissue processing ( HISTOPATHOLOGICAL TECHNIQUE
Presentation on HIE in infants and its manifestations
Supply Chain Operations Speaking Notes -ICLT Program
Abdominal Access Techniques with Prof. Dr. R K Mishra
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
Final Presentation General Medicine 03-08-2024.pptx
3rd Neelam Sanjeevareddy Memorial Lecture.pdf
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Lesson notes of climatology university.
FourierSeries-QuestionsWithAnswers(Part-A).pdf
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Microbial disease of the cardiovascular and lymphatic systems
Computing-Curriculum for Schools in Ghana
OBE - B.A.(HON'S) IN INTERIOR ARCHITECTURE -Ar.MOHIUDDIN.pdf
Cell Types and Its function , kingdom of life

Traffic Congestion Detection Using Deep Learning

  • 1. International Journal of Trend in Scientific Research and Development (IJTSRD) Volume 6 Issue 2, January-February 2022 Available Online: www.ijtsrd.com e-ISSN: 2456 – 6470 @ IJTSRD | Unique Paper ID – IJTSRD49401 | Volume – 6 | Issue – 2 | Jan-Feb 2022 Page 1195 Traffic Congestion Detection Using Deep Learning Anusha C1 , Dr. J. Bhuvana2 1 Student, 2 MCA Coordinator, 1,2 Department of Master of Computer Applications School of Computer Science & IT, Jain deemed to be University, Bengaluru, Karnataka, India ABSTRACT Despite the huge amount of traffic surveillance videos and images have been accumulated in the daily monitoring, deep learning approaches have been underutilized in the application of traffic intelligent management and control. Traffic images, including various illumination, weather conditions, and vast scenarios are considered and preprocessed to set up a proper training dataset. In order to detect traffic congestion, a network structure is proposed based on residual learning to be pre-trained and fine-tuned. The network is then transferred to the traffic application and retrained with self-established training dataset to generate the Traffic Net. The accuracy of Traffic Net to classify congested and uncongested road states reaches 99% for the validation dataset and 95% for the testing dataset. The trained model is stored in cloud storage for easy access for application from anywhere. The proposed Traffic Net can be used by a regional detection of traffic congestion on a large-scale surveillance system. The effectiveness and efficiencies are magnificently demonstrated with quick detection in the high accuracy in the case study. The experimental trial could extend its successful application to traffic surveillance system and has potential enhancement for intelligent transport system in future. How to cite this paper: Anusha C | Dr. J. Bhuvana "Traffic Congestion Detection Using Deep Learning" Published in International Journal of Trend in Scientific Research and Development (ijtsrd), ISSN: 2456- 6470, Volume-6 | Issue-2, February 2022, pp.1195- 1197, URL: www.ijtsrd.com/papers/ijtsrd49401.pdf Copyright © 2022 by author (s) and International Journal of Trend in Scientific Research and Development Journal. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (CC BY 4.0) (http://creativecommons.org/licenses/by/4.0) INTRODUCTION With fast development of deep learning-based approaches, theyhave been shown applicable to many different image recognition tasks in clinical diagnosis, robotics and so on. However, it is surprised that few successful applications in the transportation system have been reported, especially in consideration of huge amount traffic video and image using in monitoring the urban road network and freeway. According to the current situation, most of the cameras play their roles as passive monitory but cannot automatically detect the congestion on time. The detection of congestion mainly relies on lots of manpower to report congestion manually when it happens randomly in the road network. It is extremely tedious and time-consuming to keep watching all the day and identify congestion from the current surveillance system using in traffic monitoring hall. Furthermore, it is impossible to watch all the cameras relies on human eyes considering numerous cameras covering a large-scale region using in the freeway. However, prompt detection of the traffic congestion in large-scale region is important. Prompt detection can prevent extended congestion with devastating evolution from the initial controllable traffic congestion, which is one of the important applications in intelligent transport system (ITS). In order to detect the road state of congestion, commercial video detector, vehicle detector, and other equipment are developed and installed. However, high-cost of those equipment limits their application. The expensive supercomputer is also needed to process cameras local in large-scale region simultaneously. The transmission and computation of the continuous video record consume lots of equipment costs and electrical resources. The processing is uninterruptedly conducted so the high-performance computer is needed to meet the requirement of real-time application. Seeing that the remarkable improvement of the deep learning approaches emerges in those days, it is worth to investigate the image-based detection and extend it to the practical application . In order to meet the requirement of the practical application, spatial and temporal information of congestion occurrence is vital for subsequence precise IJTSRD49401
  • 2. International Journal of Trend in Scientific Research and Development @ www.ijtsrd.com eISSN: 2456-6470 @ IJTSRD | Unique Paper ID – IJTSRD49401 | Volume – 6 | Issue – 2 | Jan-Feb 2022 Page 1196 regional traffic management and control. With accurate detection of congestion incorporated with spatial and temporal information, the overall distribution of traffic congestion in a region could be sorted out. That multiple dimensional information could be then compounded and reported from cameras in a large-scale range using in regional surveillance systems and automatically visualize the congestion area to assist people watching the monitor system more efficiently. RELATED WORKS Deep learning algorithms have the potential implementation meanings to be intensely used in many fields of the transportation system, from traffic flow prediction to traffic congestion recognition. Classification of traffic condition is one of the most important parts of an ITS , which can be widely utilized in traffic control strategies, traffic flow analysis and so on. In terms of traditional machine learning-based method, K-nearest neighbor (KNN) was commonly used to classify images. Support vector machine (SVM) was also used for classifying hyper spectral images with satisfactory results [13]. All those traditional image processing methods were hard to use in the classification of traffic images in consideration of various scenarios and disturbances. Deep learning approaches have been dramatically improved with high-performed computer emerged. Classification method shifted its research direction into the deep learning-based method and moved to artificial intelligence (AI) level. Deep learning method conquered the shortcoming of traditional machine learning algorithms, which rely on hand- designed features. Convolutional neural network (CNN) and recurrent neural network (RNN) are successful examples of supervised deep learning algorithms, which require a considerable amount of training data. In recent years, the CNN-based model appeared as a powerful framework for feature extraction and recognition dominated various image tasks. . In 2012, AlexNet using CNN-based has intensely improved with deep learning algorithm which has been successfully used in the famous image competition ILSVRC . Since then, CNN-based in image recognition has been widely used and became popular in image recognition and visual learning. At the same time, people adopt GPU to solve the problem of training in big data size. VGG networks [28] with more layers of CNN achieved a better result than the previous approaches. LITRETURE REVIEW During the last few decades, significant research efforts have been devoted to using closed-circuit television (CCTV) cameras to determine real-time traffic parameters such as volume, density, and speed (12, 13). These methods can be broadly divided into three categories: (a) detection-based methods, (b) motion-based methods, and (c) holistic approaches. Detection-based methods use individual video frames to identify and localize vehicles and thereby perform a counting task. Ozkurt and Camci used neural network methods to perform vehicle counting and classification tasks from video records (6). Kalman filter-based background estimation has also been used to estimate vehicle density (14). In addition, faster recurrent convolution neural networks (RCNNs) have been used for traffic density calculation (15). However, these were found to perform poorly for videos with low resolution and high occlusion. Recent achievements in deep learning methods in image recognition tasks have led to several such methods being used for traffic counting tasks. Several motion-based methods have been suggested in the literature to estimate traffic flow utilizing vehicle tracking information. Asmaa et al. used microscopic parameters extracted using motion detection in a video sequence (18). However, these methods tend to fail due to lack of motion information and low frame rates of videos; some vehicles appear only once in a video, making it difficult to estimate their trajectories. Holistic approaches avoid the segmentation of each object. Rather, an analysis is performed on the whole image to estimate the overall traffic state. Overall, significant studies have been conducted in the past using various deep learning models to implement vehicle counting tasks and thereby determine congestion states. METHODOLGY Dataset collection Image pre-processing Training using Convolutional 2D neural network Cloud Storage Recognition DATASET COLLECTION Different classes of input traffic scene images are collected from web. The class value output of scenes are given along with dataset image collection. We have created four folders namely sparse_traffic, dense_traffic, fire, accident, every folder contains images of 900 for train and validation purposes. The folder name itself represent the class value for classification output.
  • 3. International Journal of Trend in Scientific Research and Development @ www.ijtsrd.com eISSN: 2456-6470 @ IJTSRD | Unique Paper ID – IJTSRD49401 | Volume – 6 | Issue – 2 | Jan-Feb 2022 Page 1197 IMAGE PRE-PROCESSING There is no much pre-processing required in this implementation. The training and test dataset is classified in different folder is given as input using a function fro keras " flow_from_directory". This gives necessary pre-process such as dimension reductions. Similarly, the input image for test input is dimension reduction and converting to numpy array. TRAINING USING CONVOLUTIONAL 2D NEURAL NETWORK We used convolutional 2D neural network available in keras for traing and testing our model. CLOUD STORAGE The trained model is stored in cloud, which can be accessed by the user from any location. The cloud used for the storage and retrieval is drivehq.com. The authentication keys are passed to the system for accessing the data. Through file transfer protocol to access the trained model. RECOGNITION Finally, we pass the validation or test data to the fit function, the input image is convereted to numpy array and compared with trained model to get the classified output namely dense_traffic, sparse_traffic, fire or accident. CONCLUSION In order to promote the application of the deep learning approaches into transportation application, the theoretical network is specialized to automatically detect road state of congestion. This is proposed to bridge the current advanced deep learning approaches and practical application. We proposed Convolutional Neural Network (CNN) for training and validation. We considered as multi class problem. However, the detection accuracy for the new input images is not as high as that of the validation set. ACKNOWLEDGMENT I should convey my real tendency and obligation to Dr MN Nachappa and Dr. J. Bhuvana undertaking facilitators for their effective steerage and consistent inspirations all through my assessment work. Their ideal bearing, absolute co-action and second discernment have made my work gainful. REFERENCES [1] H. Lei et al., ``A deeply supervised residual network for HEp-2 cell classification via cross- modal transfer learning,'' Pattern Recognit., vol. 79, pp. 290302, Jul. 2018. [2] P. Wang, L. Li, Y. Jin, and G. Wang, ``Detection of unwanted traffic congestion based on existing surveillance system using in freeway via a CNN-architecture trafficNet,'' in Proc. 13th IEEE Conf. Ind. Electron. Appl., May/Jun. 2018, pp. 11341139. [3] X. Zhu, Y. Wang, J. Dai, L. Yuan, and Y. Wei, ``Flow-guided feature aggregation for video object detection,'' in Proc. ICCV, Mar. 2017, pp. 408417. [4] Z. Zhao, W. Chen, X. Wu, P. C. Chen, and J. Liu, ``LSTM network: A deep learning approach for short-term traffic forecast,'' IET Intell. Transp. Syst., vol. 11, no. 2, pp. 6875, Mar 2017.