15.Dr - KSS UGC - JETIR
15.Dr - KSS UGC - JETIR
org (ISSN-2349-5162)
Abstract— to develop a CNN model for accident detection, a changes in speed or direction of vehicles, or the presence of debris
large dataset of accident and non-accident images will be on the road. Another approach could be to use sensors or cameras
required for training and testing the model. The dataset should installed on vehicles or on roads to detect accidents in real-time.
be diverse and cover a range of accident scenarios to ensure that Such systems can automatically detect accidents and alert
the model is robust and can detect different types of accidents. emergency services and nearby drivers to take appropriate action.
Once the CNN model is trained, it can be used to process the live It is important to ensure that such systems are accurate and reliable
video feed from the CCTV camera installed on the highway. to avoid false alarms, which could lead to unnecessary panic and
Each frame of the video can be passed through the CNN model confusion. The system should also be designed to ensure privacy
to classify it as an accident or non-accident frame. If an accident and security of the footage, and comply with relevant regulations
is detected, an alert can be sent to the nearest emergency services and laws. Incorporating a system to detect accidents from video
or to a central control room to initiate the required rescue footage can help save lives and reduce the impact of accidents on
operation. One potential challenge with this approach is the need individuals and society.
for real-time processing of the video feed to ensure that accidents
are detected promptly. This may require high-performance The approach of using deep learning algorithms, specifically
computing hardware and optimized software algorithms to convolutional neural networks (CNNs), to analyze video footage
ensure that the CNN model can process the frames of the video for accident detection is a promising one. CNNs are particularly
in real-time. The proposed system to detect accidents based on the well-suited for image and video processing tasks, and can be
live feed of video from a CCTV camera using a deep learning trained to recognize patterns and features that are indicative of
convolution neural network model is a promising approach. accidents. Setting up this system on highways where timely help
CNNs have indeed been shown to be highly effective for image reaching the accident victims is rare is a sensible strategy, as it can
classification tasks and have been successfully used in many help to reduce the time between the occurrence of an accident and
applications, including object detection and recognition. In the arrival of emergency services. By installing CCTV cameras at
summary, the proposed system using a CNN-based model to intervals of about 500 meters, the system can cover a large area
detect accidents based on live video feed from CCTV cameras has and monitor traffic flow in real-time. The use of Raspberry Pi 3 B+
great potential to reduce the number of accident-related deaths in as a portable and remote computer to be set up on a CCTV camera
India by enabling timely help to reach accident victims. However, is a cost-effective and practical solution. The Pi Camera can be
the development and implementation of such a system will directly attached to the Raspberry Pi to capture video footage,
require significant resources and expertise in computer vision, which can then be analyzed by the CNN-based accident detection
deep learning, and real-time processing. (Abstract) model. It is important to ensure that the system is accurate and
reliable, and can detect accidents within seconds of them
Keywords— Convolutional Neural Network; Accident happening. This requires careful design and training of the CNN
Detection; Deep Learning; Video Classification; Recurrent model, as well as rigorous testing and validation to ensure that it
Neural Network performs well under different conditions and scenarios. Overall,
the proposed system has the potential to significantly improve the
I. INTRODUCTION safety of highways by detecting accidents in real-time and alerting
emergency services to take appropriate action.
Each year, road accidents result in over 1.3 million deaths globally,
with an additional 25 to 65 million people sustaining mild injuries. That sounds like a great application of machine learning and
Shockingly, developing countries bear the brunt of these fatalities, computer vision to help detect accidents. It's impressive that you
with a death rate of 23.5 per 100,000 population - significantly were able to achieve such high accuracy with your Inception v3
higher than the rate of 11.3 per 100,000 in high-income countries. model. Implementing the model on a Raspberry Pi using
This is evident in the World Health Organisation's (WHO) survey, TensorFlow, OpenCV, and Keras is also a great way to make it
which highlights that more than 90% of road traffic related deaths accessible and portable. Running each frame of the video through
occur in developing countries, despite these countries possessing the model and predicting whether it's an accident frame or not is a
only half of the world's vehicles. India, for instance, has recorded good approach. However, it's important to keep in mind that even
an alarming average of 13 deaths every hour due to road accidents, with high accuracy, there is always the possibility of false positives
making it a potential candidate for becoming the top country with or false negatives. It's crucial to evaluate the model's performance
the highest number of road accident deaths. Unfortunately, this on a diverse set of test data to ensure its reliability before
number may be an underestimation, considering that numerous deploying it in real-world scenarios.
cases of accidents are not reported. Overall, a road accident can be
split into three phases, each presenting an opportunity to rescue This project aims to not only detect accidents but also notify the
victims. relevant authorities in real-time, providing them with important
information such as the timestamp, location, and frame at which
The objective of incorporating a system to detect accidents from the accident was detected. The use of a GSM module to send
video footage is a noble one as it can help save lives by alerting notifications is a good way to ensure that the authorities are alerted
authorities and emergency services in a timely manner. There are promptly. The emergency light that lights up when an accident is
various ways in which such a system can be designed and detected can also be helpful in alerting other drivers and
implemented. One approach could be to use computer vision pedestrians in the area to be cautious and avoid the accident site,
algorithms to analyze the video footage and detect the presence of thereby preventing further accidents or injuries. It's important to
an accident. This could involve detecting certain patterns or note that while the accuracy of the system is 95%, there is still a
movements that are indicative of an accident, such as sudden chance of false positives or false negatives. Therefore, it's crucial
JETIR2304585 Journal of Emerging Technologies and Innovative Research (JETIR) www.jetir.org f646
© 2023 JETIR April 2023, Volume 10, Issue 4 www.jetir.org (ISSN-2349-5162)
JETIR2304585 Journal of Emerging Technologies and Innovative Research (JETIR) www.jetir.org f647
© 2023 JETIR April 2023, Volume 10, Issue 4 www.jetir.org (ISSN-2349-5162)
V. MODEL COMPARISON
This project is trained with images where vehicles collided and
accident occurred and in test video if anything such collision
happens between vehicles then application detect as accident.
Training is done with tensorflow and CNN Algorithm.
In above screen video is loaded and now click on ‘Start Accident
To run project double click on run.bat file to get below screen
Detector’ button to play video and detect accident
JETIR2304585 Journal of Emerging Technologies and Innovative Research (JETIR) www.jetir.org f648
© 2023 JETIR April 2023, Volume 10, Issue 4 www.jetir.org (ISSN-2349-5162)
VI. CONCLUSION
The project has been trained using images that depict vehicle
collisions and accidents. During testing, if the application detects
any collision between vehicles in a video, it is identified as an
accident. TensorFlow and CNN (Convolutional Neural Network)
algorithms were used for the training process.
VII. REFERENCES
[1] "Global status report on road safety 2015", World Health
Organization, 2019. [Online]. Available:
http://www.who.int/violence_injury_prevention/road_safety
_status/20 15/en/. [Accessed: 07- Mar- 2019].
[2] Prabakar, S., et al. "An enhanced accident detection and
victim status indicating system: Prototype." India
Conference (INDICON), 2012 Annual IEEE. IEEE, 2012.
[3] "Lexus Enform", Lexus, 2019. [Online]. Available:
https://www.lexus.com/enform. [Accessed: 07- Mar- 2019].
[4] "OnStar Safety and Security Services", Onstar.com,
In above screen upon collision then accident display message will 2019. [Online]. Available:
https://www.onstar.com/us/en/services/safety-security/.
appear with beep sound [Accessed: 07- Mar- 2019].
In below screen application is trained with below images [5] "SOSmart automatic car crash detection and notification
app", SOSmart automatic car crash detection app, 2019.
[Online]. Available: http://www.sosmartapp.com.
[Accessed: 07- Mar- 2019].
[6] C. Kockan, “Communication between vehicles” PhD
thesis, Istanbul Technical University, 2008
[7] Zeng, Yuanyuan, Deshi Li, and Athanasios V.
Vasilakos. "Opportunistic fleets for road event detection in
vehicular sensor networks." Wireless Networks 22.2 (2016):
503-521.
[8] Szegedy, Christian, et al. "Rethinking the inception
architecture for computer vision." Proceedings of the IEEE
conference on computer vision and pattern recognition.
2016.
The project uses TensorFlow and CNN algorithm to detect [9] Szegedy, Christian, et al. "Going deeper with
accidents in videos. It is trained on a dataset of images showing convolutions." Proceedings of the IEEE conference on
vehicles colliding and accidents occurring. When the system
computer vision and pattern recognition. 2015.
JETIR2304585 Journal of Emerging Technologies and Innovative Research (JETIR) www.jetir.org f649