A
Progress Report
On
AI Powered City Safety
Submitted
In Partial Fulfillment of the Requirements
for The Degree of
Bachelor of
Technology In
Computer Science and Engineering
Submitted by
Saksham Gupta (2100540100144)
Shiv Prakash Singh
(2100540100158) Shobhit Singh
(2100540100164)
Ravi Yadav (2100540100133)
Under the supervision of
Ms. Jyoti Gaur
Assistant Professor
Department of Computer Science and Engineering
April, 2025
CERTIFICATE
This is to certify that the project entitled AI Powered City Safety submitted by
Saksham Gupta (2100540100144), Shiv Prakash Singh (2100540100158), Shobhit
Singh (2100540100164) & Ravi Yadav(2100540100133) to Babu Banarasi Das Institute
of Technology & Management, Lucknow, in partial fulfillment for the award of the
degree of B. Tech in Computer Science and Engineering is a bonafide record of project
work carried out by him/her under my/our supervision. The contents of this report, in
full or in parts, have not been submitted to any other Institution or University for the
award of any degree.
Ms. Jyoti Gaur Prof (Dr.) Anurag Tiwari
Assistant Professor Head of the Department
Dept. of Computer Science and Engineering Dept. of Computer Science and Engineering
Date:
Place
II
DECLARATION
We declare that this project report titled Progress Report submitted in partial
fulfillment of the degree of B. Tech in Computer Science and Engineering is a record
of original work carried out by us under the supervision of Mr. Jyoti Gaur and has not
formed the basis for the award of any other degree or diploma, in this or any other
Institution or University. In keeping with the ethical practice in reporting scientific
information, due acknowledgements have been made wherever the findings of others
have been cited.
Date: Signature:
Saksham Gupta (2100540100144)
Shiv Prakash Singh(2100540100158)
Shobhit Singh (2100540100164)
Ravi Yadav(2100540100133)
III
ACKNOWLEDGMENT
It gives us a great sense of pleasure to present the report of the B. Tech Project undertaken
during B. Tech. Final Year. We owe special debt of gratitude to Ms. Jyoti Gaur
(Assistant Professor) and Prof.(Dr) Anurag Tiwari (Head, Department of Computer Science
and Engineering) Babu Banarasi Das Institute of Technology and Management, Lucknow
for their constant support and guidance throughout the course of our work. Their sincerity,
thoroughness and perseverance have been a constant source of inspiration for us. It is only
their cognizant efforts that our endeavors have seen light of the day. We also do not like to
miss the opportunity to acknowledge the contribution of all faculty members of the
department for their kind assistance and cooperation during the development of our project.
Last but not the least, we acknowledge our family and friends for their contribution in the
completion of the project.
IV
TABLE OF CONTENTS
DESCRIPTION PAGE NUMBER
TITLE PAGE I
CERTIFICATE/S (SUPERVISOR) II
DECLARATION III
ACKNOWLEDGMENT IV
TABLE OF CONTENTS V
LIST OF TABLE VI
LIST OF FIGURES VI
ABBREVIATIONS/ NOTATIONS/ NOMENCLATURE VIII
ABSTRACT XI
1. CHAPTER 1 1
1.1 Introduction 1
2. CHAPTER 2 4
2.1 Literature Review 4
3. CHAPTER 3 13
3.1 Proposed Methodology 13
3.1.1 Problem Statement 13
3.2 Proposed Approach 13
3.2.1 Environment Setup 14
3.2.2 Data Preperation 15
3.2.3 Data Processing 15
16
3.2.4 Model Development 16
3.2.5 Model Evaluation 21
3.2.6 Deployment and Integration 22
3.2.7 Creating UI Interface 22
24
3.2.8 Model Monitoring Feedback
24
3.2.9 Model Re-training 25
3.2.10 Continous Improvement 25
V
4. CHAPTER 4 26
4.1 Result and Discussion 26
4.1.1 Fire Detection System Performance 26
4.1.2 Road Accident Detection System Performance 27
4.1.3 Overall System Performance Integration 28
4.1.4 Model Re-training 29
4.1.5 Future Enhancement and Scalability 29
5. CHAPTER 5 31
5.1 Conclusion 31
5.2 Future work 32
5.2.1 Women Safety 33
5.2.2 Water Level Monitoring 33
5.2.3 Cleanness Monitoring 34
REFERENCES 35-36
PLAGIARISM REPORT 37
REVIEW PAPER & CERTIFICATE
VI
LIST OF FIGURES
Figure No. Figure Caption Page No.
Figure 1.1 High Level Architecture Diagram 7
Figure 3.1 Yolo Official Page Image 27
Figure 3.2 Data Flow Representation 29
VII
ABSTRACT
The AI-Powered City Safety project leverages advanced technologies like Artificial Intelligence (AI),
Machine Learning (ML), and Internet of Things (IoT) to address critical urban safety challenges. With
rapid urbanization and increased population density, the project aims to develop predictive, preventive,
and risk-reduction solutions for hazards such as fires and road accidents. By integrating state-of-the-art
object detection models like YOLOv5 and YOLOv8 with OpenCV for real-time video analysis, the
system achieves high accuracy in detecting and responding to potential threats.
Key intervention areas include early fire detection, where YOLOv8 and OpenCV's preprocessing
techniques ensure rapid identification of fire and smoke, and dynamic road accident prevention, where
YOLOv5 and OpenCV track vehicle and pedestrian interactions to predict collisions. The project also
incorporates IoT sensor data to enhance environmental monitoring and provide early warnings. A user-
friendly interface enables real-time alerts, incident visualization, and system control for emergency
responders and urban authorities.
The proposed methodology focuses on scalable and adaptable system development, including
environment setup, data preprocessing, model training, deployment, and continuous improvement through
feedback and re-training. Results demonstrate high precision, recall, and low latency, validating the
system’s efficacy in urban safety management. This project provides a replicable framework for smart
cities worldwide, contributing to safer, more sustainable urban environments.
VIII
9