0% found this document useful (0 votes)
4 views

FINAL_DOCUMENT (1) (1)_removed

The document discusses the increasing prevalence of road accidents and the need for effective detection systems to mitigate casualties. It reviews existing accident detection methods, highlighting their limitations, and proposes a new system utilizing machine learning and image classification techniques for real-time accident detection. The proposed system aims to improve emergency response times and reduce fatalities through automated notifications to emergency services.

Uploaded by

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

FINAL_DOCUMENT (1) (1)_removed

The document discusses the increasing prevalence of road accidents and the need for effective detection systems to mitigate casualties. It reviews existing accident detection methods, highlighting their limitations, and proposes a new system utilizing machine learning and image classification techniques for real-time accident detection. The proposed system aims to improve emergency response times and reduce fatalities through automated notifications to emergency services.

Uploaded by

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

Road Accident Detection

CHAPTER 1
INTRODUCTION
1.1 GENERAL
With increase in number of individuals owning vehicle, road accidents are also increasing
correspondingly. Vehicles have become inevitable part of everyone’s life nowadays. With increasing
congestion, limited sense of traffic rules among citizens, and lack of enforcement of traffic rules,
causalities and death rates due to road accidents are enormous and among the highest of all deaths.
Most of the road casualties happen on highways where most of the vehicles are heavy and moving
with higher speeds. According to World Health Organization (WHO), it is reported that there were
1.25 million road traffic deaths in 2013 globally. It is also predicted that this number is likely to
increase in future. Low and middle income countries have higher road fatalities than higher income
countries due to lack of law enforcement and poor availability of emergency medication facilities.
Various social activists, researchers and concerned agencies have made several attempts and proposed
solutions in the direction to lessen road accidents and provide viable solutions or systems to mitigate
road accidents. For the fast relief operation initialization, some automated system deployment in the
vehicle itself shall be very beneficial. In the present work, crash detection system in vehicle that senses
accident and also raises emergency help is devised. Many times victim of road accidents die due to
delay in getting medical treatment. So, in case of accident, the proposed system can save many lives.
There have been a few methods proposed and implemented for accident detection system till date.
Different methods are briefly discussed here. In all these cases different methods are used to detect
accident, however GPS and GSM are common techniques used to locate the victim and inform
emergency services respectively, Vehicular AdHoc Networks (VANETs) based approach has been
used for accident detection system.
In this system, accident is detected by accelerometer and all the drivers within a certain range receives
an alert to inform them about the crash in nearby area and to stop further casualties. Message is
transmitted using 802.11g standards. In, GPS based method is used to detect accident. GPS measures

Muffakham Jah College of Engineering And Technology 1


Road Accident Detection

speed of vehicle every second and compares it with the previous readings. The algorithm is so designed
that, it detects accident whenever the speed of the vehicle is below a certain level. Android app based
accident detection system using tilt of accelerometer is described in. But it detects accident only when
the vehicle is tilted with reference to the road, which is not the case every time.
In, accident is detected based on sensors system. The authors have gathered data from 400 sensors
and 72 accident incidents from recent past in Turkish highways. These are then preprocessed and
analyzed. Based on some features like velocity difference, occupancy difference, capacity usage
difference, weekend/weekday, rush hour - accident is detected. But the system applicability is limited
as malfunctioning of sensors raise false alarms which is a bottleneck in performance accuracy.
An accident detection unit with accelerometer using ARM7, which is equipped with gas and
alcohol sensors is described in. Accident detection using some machine learning techniques such as
Neural network, SVM, decision trees are described in. Machine learning is progressively making its
way in almost every area nowadays. Innovatively, the method of accident detection using image
classification with the use of machine learning is proposed in this paper. Transfer learning can be
applied on the already trained network of Google’s
Inception V3, which is Google’s image classifier on the top of tensor flow, which uses convolutional
neural networks to classify images among given classes.

Muffakham Jah College of Engineering And Technology 2


Road Accident Detection

1.2 OBJECTIVE

In this section, we have tried to compare our work with other accident detection techniques. Most of the
studies in this field revolve around the enhancement of tangible infrastructure rather than on Intelligent
Transportation Systems (ITS) which include traffic congestion detection, accident detection, detecting the
occurrence of an event etc. Even the few existing studies in the domain lack implementation details and
are terrain specific i.e. there are constraints both in the geographical as well as demographic aspects.

Existing System:

In this section, we have tried to compare our work with other accident detection techniques. Most of
the studies in this field revolve around the enhancement of tangible infrastructure rather than on Intelligent
Transportation Systems (ITS) which include traffic congestion detection, accident detection, detecting the
occurrence of an event etc. Even the few existing studies in the domain lack implementation details and
are terrain specific i.e. there are constraints both in the geographical as well as demographic aspects. These
techniques have been discussed below: Lexus vehicles introduced in 2014 came with a feature called the
“Lexus Enform” wherein an impact sensor was placed at the rear end of the vehicle. In the occurrence of
an accident, the sensors would react and thus notify the user via the application. However, the
disadvantages of this system were plenty. Sensors were to be placed in every individual vehicle rendering
the concept expensive. Also, it requires physical entities like smartphones. An ancillary company of
General Motors called OnStar Corporation introduced an accident notification application called Chevy
star. It offered options like on-field assistance to victims as well as a self-regulated crash response.
However, this service was based on a subscription model rendering the service expensive. Also, reviews
suggested that the service lacked quality because of which the system itself was ineffective. SoSmart SpA
came up with a smartphone application called SOSmart which provided free assistance to the victim of
the accident at the time of occurrence. This facility was easy to use and you could avail help at the click
of a button. But the obvious flaw is that it is a manual reporting system.

Muffakham Jah College of Engineering And Technology 3


Road Accident Detection

Disadvantages:

 This system were plenty.


 Sensors were to be placed in every individual vehicle rendering the concept expensive.

Muffakham Jah College of Engineering And Technology 4


Road Accident Detection

LITERATURE SURVEY:
Title: A Critical Issue Requiring Government Attention.

Author: P. M. Vitousek, H. A. Mooney, J. Lubchenco, and J. M. Melillo.

Year: 2015.

Description:

Human alteration of Earth is substantial and growing. Between one-third and one-half of the land surface
has been transformed by human action; the carbon dioxide concentration in the atmosphere has increased
by nearly 30 percent since the beginning of the Industrial Revolution; more atmospheric nitrogen is fixed
by humanity than by all natural terrestrial sources combined; more than half of all accessible surface fresh
water is put to use by humanity; and about one-quarter of the bird species on Earth have been driven to
extinction. By these and other standards, it is clear that we live on a human-dominated planet.

Muffakham Jah College of Engineering And Technology 5


Title:

Author:
Accelerometer Based Real-Time Remote Detection and Monitoring of Hand Motion.

An analysis of a large scale habitat monitoring application.

Year: 2011.

Description:

Habitat and environmental monitoring is a driving application for wireless sensor networks. We
present an analysis of data from a second generation sensor networks deployed during the summer
and autumn of 2003. During a 4 month deployment, these networks, consisting of 150 devices,
produced unique datasets for both systems and biological analysis. This paper focuses on nodal
and network performance, with an emphasis on lifetime, reliability, and the the static and dynamic
aspects of single and multi-hop networks. We compare the results collected to expectations set
during the design phase: we were able to accurately predict lifetime of the single-hop network, but
we underestimated the impact of multi-hop traffic overhearing and the nuances of power source
selection. While initial packet loss data was commensurate with lab experiments, over the duration
of the deployment, reliability of the backend infrastructure and the transit network had a dominant
impact on overall network performance. Finally, we evaluate the physical design of the sensor
node based on deployment experience and a <i>post mortem</i> analysis. The results shed light
on a number of design issues from network deployment, through selection of power sources to
optimizations of routing decisions.
Automatic road accident detection techniques.

Chen, X.; Zhou, G.; Chen, A.; Pu, L.; Chen, W.

Year: 2001.

Description:
Title:

Author:
Decision support tools used for vegetation management require accurate information on the spatial
array of different plant communities and an herbivore's grazing location. We tested the accuracy
and precision of locations derived using the satellite navigation global positioning system (GPS).
Before May 2000, the accuracy and precision of GPS-derived locations were degraded by a process
known as selective availability (SA); after May 2000, SA was disabled. In this study we
investigated how to handle and improve the quality of data generated both when SA was enabled
and when SA was disabled using relative GPS (rGPS). rGPS entails the post-processed correction
of the roving GPS module with simultaneously acquired positional errors recorded at a known
stationary reference location. With SA enabled, GPS data were obtained at a fixed known location
to obtain baseline information, and from a roving module that essentially mimicked surveying
techniques or the movement of a free-ranging animal. The mean accuracy of GPS with SA enabled
was 21 m for the fixed module and 25 m for the roving module. Use of rGPS and further
manipulation of the data improved the mean accuracy of the data to 7 m for the fixed module and
10 m for the roving module. With SA disabled, data were similarly recorded from the fixed known
location and resulted in a mean location accuracy of 5 m. The use of rGPS resulted in a significant
improvement of this value to 3�6 m and precision measured by the 95\% quantile was \<
10 m. For mapping and wildlife tracking, such quality in terms of location accuracy and precision
is unprecedented and demonstrates that rGPS may still be useful in many applications. GPS enables
the world-wide collection of accurate and precise location information at 1-second intervals.
Furthermore, by programming the GPS receiver to overdetermined location by using information
from all visible satellites, many of the limitations that arise in habitats or environments with a
limited view of the sky may be overcome. With SA now disabled, the potential use of GPS will
increase. With further miniaturization, surveying of remote featureless landscapes or the tracking
of crepuscular or far-ranging animals will become more accurate and more quantifiable than ever
before.
Smart vehicle accident detection and alarming system using a smartphone.

Muffakham Jah College of Engineering And Technology 7


Title:

Author:
R. Kays, S. Tilak, B. Kranstauber, P. A. Jansen, C. Carbone, M. J. Rowcliffe, T.
Fountain, J. Eggert, and Z. He,

Year: 2010.

Description:

Studying animal movement and distribution is of critical importance to addressing environmental


challenges including invasive species, infectious diseases, climate and land-use change. Motion
sensitive camera traps offer a visual sensor to record the presence of a broad range of species
providing location -specific information on movement and behavior. Modern digital camera traps
that record video present new analytical opportunities, but also new data management challenges.
This paper describes our experience with a terrestrial animal monitoring system at Barro Colorado
Island, Panama. Our camera network captured the spatio-temporal dynamics of terrestrial bird and
mammal activity at the site - data relevant to immediate science questions, and long-term
conservation issues. We believe that the experience gained and lessons learned during our yearlong
deployment and testing of the camera traps as well as the developed solutions are applicable to
broader sensor network applications and are valuable for the advancement of the sensor network
research. We suggest that the continued development of these hardware, software, and analytical
tools, in concert, offer an exciting sensor-network solution to monitoring of animal populations
which could realistically scale over larger areas and time spans.

Muffakham Jah College of Engineering And Technology 8


Title:

Wireless System for Vehicle Accident Detection and Reporting using Accelerometer and
GPS.

Author: Behera, S.K.; Rath, A.K.; Mahapatra, A.; Sethy, P.K.

Year: 2015.

Description:
How long does it take for the human visual system to process a complex natural image?
Subjectively, recognition of familiar objects and scenes appears to be virtually instantaneous, but
measuring this processing time experimentally has proved difficult. Behavioral measures such as
reaction times can be used1, but these include not only visual processing but also the time required
for response execution. However, event-related potentials (ERPs) can sometimes reveal signs of
neural processing well before the motor output2. Here we use a go/no-go categorization task in
which subjects have to decide whether a previously unseen photograph, flashed on for just 20 ms,
and contains an animal. ERP analysis revealed a frontal negativity specific to no-go trials that
develops roughly 150 ms after stimulus onset. We conclude that the visual processing needed to
perform this highly demanding task can be achieved in under 150 ms.
Road Accident Detection

Proposed System
Convolutional neural network is the state-of-the-art tech-nique in image classification and
recognition. It has a stack of convolutional layers, ReLu layers and pooling layers. This is discussed
in detail in [10]. Convolutional layer is feature extraction layer which detects from general features
like edges to more specific features like objects and colors from the images. Pooling layer reduces
the dimensionality. It takes much time and computing power to train such a network and very large
image dataset is also required.

For example, Google’s inception-v3 image classifier is trained on the ImageNet dataset of 100000
images to classify among 1000 classes. It has 22 hidden layers and it took weeks to train it. Transfer
learning technique comes in handy to avoid such limitations. Transfer learning refers to using
learning from previous training session to a new training session.

ADVANTAGES
It is very efficient to train data.
It makes no assumptions about distributions of classes in feature space.
It is very fast at classifying unknown records.

Muffakham Jah College of Engineering And Technology 10


Road Accident Detection

CHAPTER 2

PROJECT DESCRIPTION

2.1 METHODOLOGIES

2.1.1 MODULES NAME:

1. Uniform Aspect Ratio

2. Image-Scaling

3. Normalizing Image Inputs

1. Uniform Aspect Ratio


It is the first step that is followed in the pre-processing of the image data. By applying this
technique of unfirming all the images in the dataset, the model can be built seamlessly without any
problems. Here each image in the dataset is brought to an equal size and shape for better execution
of the model. All the images are brought into the same dimensions.

2. Image-Scaling

After unfirming all the image sizes in the dataset, by using the function image data generator from
Keras package, the image scaling technique is used. Images are either upscaled or downscaled
accordingly with the size fixed in the model.

3. Normalizing Image Inputs


This technique ensures the distribution of the data similarly according to the input parameters that
are set previously. It helps in faster training of the data. The normalization is performed by

Muffakham Jah College of Engineering And Technology 11


Road Accident Detection

deducting the average from each one of the pixels and dividing the obtained result with standard
deviation.

CHAPTER 3
REQUIREMENTS ENGINEERING

3.1 GENERAL

We can see from the results that on each database, the error rates are very low due to the
discriminatory power of features and the regression capabilities of classifiers. Comparing the
highest accuracies (corresponding to the lowest error rates) to those of previous works, our results
are very competitive.

3.2 HARDWARE REQUIREMENTS


The hardware requirements may serve as the basis for a contract for the
implementation of the system and should therefore be a complete and consistent
specification of the whole system. They are used by software engineers as the
starting point for the system design. It should what the system do and not how it
should be implemented.

• PROCESSOR : DUAL CORE 2 DUOS.


• RAM : 4GB DD RAM
• HARD DISK : 250 GB

Muffakham Jah College of Engineering And Technology 12


Road Accident Detection

3.3 SOFTWARE REQUIREMENTS

The software requirements document is the specification of the system. It should include both a
definition and a specification of requirements. It is a set of what the system should do rather than
how it should do it. The software requirements provide a basis for creating the software
requirements specification. It is useful in estimating cost, planning team activities, performing
tasks and tracking the teams and tracking the team’s progress throughout the development activity.

• Operating System : Windows 7/8/10

• Platform : Spyder3

• Programming Language : Python

• Front End : Spyder3

3.4 FUNCTIONAL REQUIREMENTS


A functional requirement defines a function of a software-system or its component. A function is
described as a set of inputs, the behavior, Firstly, the system is the first that achieves the standard
notion of semantic security for data confidentiality in attribute-based deduplication systems by
resorting to the hybrid cloud architecture.

3.5 NON-FUNCTIONAL REQUIREMENTS

EFFICIENCY

Our multi-modal event tracking and evolution framework is suitable for multimedia documents
from various social media platforms, which can not only effectively capture their multi-modal
topics, but also obtain the evolutionary trends of social events and generate effective event
summary details over time. Our proposed mmETM model can exploit the multi-modal property
of social event, which can effectively model social media documents including long text with
related images and learn the correlations between textual and visual modalities to separate the
visual-representative topics and non-visual-representative topics.

Muffakham Jah College of Engineering And Technology 13


Road Accident Detection

CHAPTER 4

DESIGN ENGINEERING

4.1 GENERAL

Design Engineering deals with the various UML [Unified Modelling language] diagrams
for the implementation of project. Design is a meaningful engineering representation of a thing
that is to be built. Software design is a process through which the requirements are translated into
representation of the software. Design is the place where quality is rendered in software
engineering.

4.2 UML DIAGRAMS


4.2.1 USE CASE DIAGRAM

Muffakham Jah College of Engineering And Technology 14


Road Accident Detection

Read Road Accident dataset

Pre-processing

Transfer Learning
Dataset Input User Input

Predictions

Road Accident Detection

EXPLANATION:
The main purpose of a use case diagram is to show what system functions are performed for which
actor. Roles of the actors in the system can be depicted. The above diagram consists of user as
actor. Each will play a certain role to achieve the concept.
4.2.2 CLASS DIAGRAM

Muffakham Jah College of Engineering And Technology 15


Road Accident Detection

EXPLANATION

In this class diagram represents how the classes with attributes and methods are linked together to
perform the verification with security. From the above diagram shown the various classes involved
in our project.

4.2.3 OBJECT DIAGRAM

Muffakham Jah College of Engineering And Technology 16


Road Accident Detection

Dataset Input Read Road Accident dataset Pre-processing

Predictions Transfer Learning


User Input

Road Accident Detection Results

EXPLANATION:

In the above digram tells about the flow of objects between the classes. It is a diagram that shows
a complete or partial view of the structure of a modeled system. In this object diagram represents
how the classes with attributes and methods are linked together to perform the verification with
security.

4.2.8 STATE DIAGRAM

Muffakham Jah College of Engineering And Technology 17


Road Accident Detection

Dataset Input

Read Road Accident dataset

Pre-processing

Transfer Learning

User Input

Predictions

Road Accident Detection Results

EXPLANATION:

State diagram are a loosely defined diagram to show workflows of stepwise activities and
actions, with support for choice, iteration and concurrency. State diagrams require that the system
described is composed of a finite number of states; sometimes, this is indeed the case, while at
other times this is a reasonable abstraction. Many forms of state diagrams exist, which differ
slightly and have different semantics.

Muffakham Jah College of Engineering And Technology 18


Road Accident Detection

4.2.9 ACTIVITY DIAGRAM

Dataset Input

Read Road Accident dataset

Pre-processings

Transfer Learning

User Input

Predictions

Road Accident Detection Results

EXPLANATION:
Activity diagrams are graphical representations of workflows of stepwise activities and
actions with support for choice, iteration and concurrency. In the Unified Modeling Language,
activity diagrams can be used to describe the business and operational step-by-step workflows of
components in a system. An activity diagram shows the overall flow of control.

Muffakham Jah College of Engineering And Technology 19


Road Accident Detection

4.2.6 SEQUENCE DIAGRAM

Dataset Read Pre-processing Transfer User Road Accident


Input Images Learning Input Detection

Define path & select Road Accident dataset

used to read Road Accident dataset

used to convert data into array format

classification, train & extract features

user Road Accident image input

predict user image from train model

Display Road Accident Detection Results

EXPLANATION:

A sequence diagram in Unified Modeling Language (UML) is a kind of interaction diagram


that shows how processes operate with one another and in what order. It is a construct of a Message
Sequence Chart. A sequence diagram shows object interactions arranged in time sequence. It
depicts the objects and classes involved in the scenario and the sequence of messages exchanged
between the objects needed to carry out the functionality of the scenario.

Muffakham Jah College of Engineering And Technology 20


Road Accident Detection

4.2.7 COLLABORATION DIAGRAM

0: Define path & select Brain Tumor dataset 2: used to read Road Accident dataset

Dataset Input Read Pre-processing


Images

0: Display Brain Tumor Detection


3: used to convert data into array format
Transfer
Learning
4: classification, train & extract features

0: user Brain MRI image input


0: display data to admin

Road Accident User Input


Detection

6: predict user image from train model

EXPLANATION:
A collaboration diagram, also called a communication diagram or interaction diagram, is
an illustration of the relationships and interactions among software objects in the Unified Modeling
Language (UML). The concept is more than a decade old although it has been refined as modeling
paradigms have evolved.

Muffakham Jah College of Engineering And Technology 21


Road Accident Detection

4.2.4 COMPONENT DIAGRAM

Dataset Read Road


Input Accident dataset

Pre-processing
User
Input

Road
Accident

Detection
Results Predictions
Transfer
Learning

EXPLANATION

In the Unified Modeling Language, a component diagram depicts how components are wired
together to form larger components and or software systems. They are used to illustrate the
structure of arbitrarily complex systems. User gives main query and it converted into sub queries
and sends through data dissemination to data aggregators. Results are to be showed to user by data
aggregators. All boxes are components and arrow indicates dependencies.

4.2.5 DEPLOYMENT DIAGRAM

Muffakham Jah College of Engineering And Technology 22


Road Accident Detection

Read Road Accident Pre-processing


Dataset Input
dataset

Transfer Learning
User Input

Road Accident Detection


Predictions
Results

EXPLANATION:

Deployment Diagram is a type of diagram that specifies the physical hardware on which the
software system will execute. It also determines how the software is deployed on the underlying
hardware. It maps software pieces of a system to the device that are going to execute it.

Data Flow Diagram

Level-0:

Muffakham Jah College of Engineering And Technology 23


Road Accident Detection

User
Dataset input

Read Road Accident


dataset

Pre-Processing

Level-1

Muffakham Jah College of Engineering And Technology 24


Road Accident Detection

Splitting

Transfer Learning

User Input

System Prediction

Road Accident Detection


Results

Muffakham Jah College of Engineering And Technology 25


Road Accident Detection

System Architecture

Fig 4.12: System Architecture

Muffakham Jah College of Engineering And Technology 26

You might also like