0% found this document useful (0 votes)
10 views14 pages

Anish 8th

The document presents a project report on the 'Drowsiness Detection System' prepared by Anish Karki and Adesh Basyel, which aims to monitor driver fatigue using computer vision and machine learning. It includes recommendations, approvals, acknowledgments, and a detailed outline of the project's methodology and findings. The ultimate goal of the system is to enhance road safety by preventing accidents caused by drowsy driving.

Uploaded by

axeon84
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)
10 views14 pages

Anish 8th

The document presents a project report on the 'Drowsiness Detection System' prepared by Anish Karki and Adesh Basyel, which aims to monitor driver fatigue using computer vision and machine learning. It includes recommendations, approvals, acknowledgments, and a detailed outline of the project's methodology and findings. The ultimate goal of the system is to enhance road safety by preventing accidents caused by drowsy driving.

Uploaded by

axeon84
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/ 14

TRIBHUVAN UNIVERSITY

FACULTY OF HUMANITIES & SOCIAL SCIENCE

SUPERVISOR’S RECOMMENDATION

We hereby recommend that this project is prepared under my supervision by Anish Karki and
Adesh Basyel entitled “Drowsiness Detection System” in partial fulfillment of the requirements
for the Bachelor’s Degree in Computer Application is satisfactory in the scope for the degree and
be processed for further evaluation.

…………………………..

Bishnu Khadka

SUPERVISOR

Nepal Mega College

Babarmahal, Kathmandu

i
TRIBHUVAN UNIVERSITY

FACULTY OF HUMANITIES AND SOCIAL SCIENCES

LETTER OF APPROVAL

This is to certify that this report prepared by Anish Karki and Adesh Basyel entitled as
“Drowsiness Detection System” in partial fulfillment of the requirements for the degree of
Bachelor’s in Computer Application has been evaluated. In our opinion it is satisfactory in scope
and quality as a project for the required degree.

Signature of Supervisor Signature of HOD

………………………… …………………………

Mr. Bishnu Khadka Mr. Dharma Raj Poudel

Signature of Internal Signature of External

………………………… ……………………….

ii
ACKNOWLEDGMENT

We would like to express my deepest gratitude to all those who contributed to the successful
completion of this project on Drowsiness Detection System. First and foremost, I would like to
thank Bishnu Khadka whose guidance, support, and encouragement have been invaluable
throughout the entire process. His expertise and insights greatly enhanced the quality of this
project. I am also grateful to Nepal Mega College for providing the necessary resources and a
conducive learning environment. Special thanks go to my colleagues and classmates for their
constructive feedback and collaborative spirit, which significantly enriched my learning
experience. I would also like to extend my thanks to my family and friends, who have continuously
supported me with their encouragement and understanding throughout the duration of this project.
Lastly, I acknowledge the use of open-source software, libraries, and datasets that have been
instrumental in developing the system. Without these valuable resources, the successful
completion of this project would not have been possible. Thank you all for your unwavering
support and guidance. Feel free to tweak it to reflect the names and specifics of your project.

iii
STUDENT’S DECLARATION

We hereby declare that project report entitled “Drowsiness Detection System” submitted in the
partial fulfillment of the requirement for bachelor’s degree of Bachelor in Computer Application
of Tribhuvan University, is our original work has not been submitted for the award of any other
degree, diploma, fellowship, or any other similar title or prize.

………………………. ……………………….

Anish Karki Adesh Basyel

iv
ABSTRACT

A drowsiness detection system is designed to monitor and detect early signs of driver fatigue to
prevent accidents caused by sleepiness while driving. This system typically uses computer vision
and machine learning algorithms to analyze facial features, such as eye blinking patterns, and
yawning frequency, in real-time. By capturing data through a camera, the system identifies key
indicators of drowsiness and issues alerts to the driver if signs of fatigue are detected. The ultimate
goal of this system is to enhance road safety by reducing drowsy driving-related accidents through
early intervention. The development and deployment of such systems could significantly reduce
human error-related incidents and save lives globally.

Keywords: Drowsiness Detection, Real Time Data, Alert, Safety

v
TABLE OF CONTENT

SUPERVISOR RECOMMENDATION…………………………………..……...…………..…….i
LETTER OF APPROVAL………………………………………………..……...…………..……ii
ACKNOWLEDGEMENT………………………………………………..……...………….……iii
STUDENT’S DECLARATION.………………………………………..……...…………………iv
ABSTRACT…………………...………………………………………..……...…………………v
TABLE OF CONTENT……………………………………………………….……….…………vi
LIST OF FIGURE…………………………………………………………….………..………..viii
LIST OF TABLE…………………………………………………………….………....………....ix

CHAPTER 1: INTRODUCTION………………………………………………………...……….1
1.1 Introduction………….….………………………………...……………………..…….………1
1.2 Problem statement ………………………………………...……………………..……………2
1.3 Objective…………………………………………………………….……...…………….......2
1.4 Scope and Limitation………...………………………………………………….…...………..3
1.5 Development Methodology.………….……………………………………………...……..…4
1.6 Report Organization………….…………….………………………………………...………..7

CHAPTER 2: BACKGROUND STUDY AND LITERATURE REVIEW…………..……..……..8


2.1 Background Study……….………………………………...……………………..……………8
2.2 Literature Review..………………………………………...……………………..……………8

CHAPTER 3: SYSTEM ANALYSIS AND DESIGN………………………….…………...…….9


3.1 System Analysis…………………………………………...……………………..……………9
3.1.1 Requirements Analysis………………...……..…………….…………….…..………......9
3.1.2 Use-case Diagram …………….……...……….……………………….…….……….....10
3.1.3 Feasibility Study.…………...……….………….……………….……………………....12
3.1.4 FlowChart……...…………...……….………….……………….……………………....14
3.1.5 Object Modelling: Object & Class Diagram…….…………………………...………....15
3.1.6 Dynamic Modeling State & Sequence Diagram...….…….….…...…………….……....16
3.1.7 Activity Diagram …...…………….……….……………….……………...………........18

vi
3.2 System Design…….……..………….…………………………………………………...…...19
3.2.1 Refinement of Class, Object Diagram………..…………….…………….….………......19
3.2.2 Component Diagram ………...…….………….……………………….…….……….....20
3.2.3 Deployment Diagram ………...……….……….……………….…………………….....21
3.3 Algorithm Details…………………………………………………………......……………...22
CHAPTER 4: IMPLEMENTATION AND TESTING…………………….……………….…....25
5.2 Implementation………..………………………………...………………………………..…..25
4.1.1 Tools Used…………………………..………..…………….…………….…..……….....25
4.2 Testing……….…………………………………………………………………..…………...26
4.3 Result Analysis…………………………………………………………………….………....28

CHAPTER 5: CONCLUSION AND EXPECTED OUTCOME……………….………….….....29


5.1 Conclusion……...……………………………...……………………………………………..29
5.2 Expected Outcome………………………………...………………………………..…..….....29

REFERENCES………………………………………….………………….…………….….…..31
APPENDICES……...……………………………………………………...……….…..…….….32

vii
LIST OF FIGURES

FIGURE 1: WATERFALL MODEL OF DROWSINESS DETECTION SYSTEM.…………......10


FIGURE 2: USECASE DIAGRAM OF DROWSINESS DETECTION SYSTEM...………........21
FIGURE 2: GANTT CHART OF DROWSINESS DETECTION SYSTEM…….…………........13
FIGURE 3: FLOWCHART OF DROWSINESS DETECTION SYSTEM…..…………………..14
FIGURE 4: CLASS DIAGRAM ……...….………………………………….…………………...15
FIGURE 5: SEQUENCE DIAGRAM.……………………………………...……………….......16
FIGURE 6: STATE CHART DIAGRAM ……………..…………………………..…………......17
FIGURE 7: ACTIVITY DIAGRAM……..……………………………..………………………..18
FIGURE 8: REFINEMENT OF CLASS DIAGRAM ……….………….……………………...19
FIGURE 9: COMPONENT DIAGRAM ……………...………………….……………………...20
FIGURE 10: COMPONENT DIAGRAM…......…………………………….……………….......21
FIGURE 10: DEPLOYMENT DIAGRAM…....…………………………….……………….......21

viii
LIST OF TABLES

TABLE 1: TEST CASE FOR UNIT TESTING……………………………….…………….........26


TABLE 2: TEST CASE FOR INTEGRATION TESTING….……………..………………….....27

ix
x
TABLE OF CONTENTS
SUPERVISOR’S RECOMMENDATION LETTER ........ Error! Bookmark not defined.
CERTIFICATE OF APPROVAL ...................................... Error! Bookmark not defined.
ACKNOWLEDGEMENT ................................................. Error! Bookmark not defined.
ABSTRACT ....................................................................... Error! Bookmark not defined.
LIST OF FIGURES.......................................................................................................... xiii
LIST OF TABLES ........................................................................................................... xiv
LIST OF ABBREVATIONS ............................................. Error! Bookmark not defined.
CHAPTER 1: INTRODUCTION ...................................... Error! Bookmark not defined.
1.1 Introduction .......................................................... Error! Bookmark not defined.
1.2 Problem Statement.................................................................................................. 2
1.3 Objectives ............................................................. Error! Bookmark not defined.
1.4 Scope and Limitation .............................................................................................. 3
1.5 Development Methodology .................................................................................... 4
1.6 Report Organization ............................................................................................... 7
CHAPTER 2: BACKGROUND STUDY AND LITERATURE REVIEW ........................8
2.1 Background Study .................................................................................................. 8
2.2 Literature Review ................................................................................................... 8
CHAPTER 3: SYSTEM ANALYSIS AND DESIGN.........................................................9
3.1 System Analysis .......................................................................................................... 9
3.1.1 Requirement Analysis .......................................................................................... 9
i. Functional Requirements: .......................................................................................... 9
ii. Non-Functional Requirements: ............................................................................... 11
3.1.2 Feasibility Analysis ............................................................................................ 12
i. Technical ................................................................. Error! Bookmark not defined.
ii. Operational Feasibility ............................................ Error! Bookmark not defined.
iii. Economic Feasibility ............................................. Error! Bookmark not defined.
iv. Schedule Feasibility ............................................... Error! Bookmark not defined.
3.1.3 Object Modelling using Class and Object DiagramError! Bookmark not defined.

xi
3.1.4 Dynamic Modelling using State and Sequence Diagrams Error! Bookmark not
defined.
3.1.5 Process Modelling using Activity Diagrams...... Error! Bookmark not defined.
3.2. System Design .......................................................................................................... 20
3.2.1 Refinement of Class and object Diagram........................................................... 21
3.2.2. Component Diagram ......................................................................................... 22
3.2.3. Deployment Diagram ........................................ Error! Bookmark not defined.
3.3. Algorithm Details ..................................................... Error! Bookmark not defined.
CHAPTER 4: SYSTEM IMPLEMENTATION ................ Error! Bookmark not defined.
4.1 Implementation .......................................................... Error! Bookmark not defined.
4.1.1 Tools and Technology used ............................ Error! Bookmark not defined.
4.1.2 Implementation Details of Modules .................. Error! Bookmark not defined.
4.2 Testing ....................................................................... Error! Bookmark not defined.
4.2.1 Test Cases for Unit Testing ................................ Error! Bookmark not defined.
4.2.2 Test Cases for System Testing .................. Error! Bookmark not defined.
4.3 Result Analysis .......................................................... Error! Bookmark not defined.
CHAPTER 5: CONCLUSION AND EXPECTED OUTCOMEError! Bookmark not defined.
5.1 Conclusion ............................................................ Error! Bookmark not defined.
5.2 Expected Outcome................................................ Error! Bookmark not defined.
REFERENCES ................................................................... Error! Bookmark not defined.
APPENDICES.................................................................... Error! Bookmark not defined.

xii
LIST OF FIGURES
Figure 1.: Waterfall Model .................................................................................................... 6
Figure 2: Use case diagram of Drowsiness Detection SystemError! Bookmark not defined.
Figure 3: Grant chart of Drowsiness Detection System ...... Error! Bookmark not defined.
Figure 4: Flowchart of Drowsiness Detection System ........ Error! Bookmark not defined.
Figure 5: Class diagram of Drowsiness Detection System . Error! Bookmark not defined.
Figure 6: Object diagram of Drowsiness Detection SystemError! Bookmark not defined.
Figure 7: Dynamic Modelling using Sequence Diagrams .. Error! Bookmark not defined.
Figure 8: Dynamic Modelling using State Diagrams .......... Error! Bookmark not defined.
Figure 9: Activity Diagram of Drowsiness Detection SystemError! Bookmark not defined.
Figure 10: Refinement of class diagram of Drowsiness Detection System ........................ 21
Figure 11: Component diagram of Drowsiness Detection System ..................................... 22
Figure 12: Deployment Diagram ........................................ Error! Bookmark not defined.

xiii
LIST OF TABLES
Table 1: Test Case for Unit Testing .................................... Error! Bookmark not defined.
Table 2: Test Case for Integration Testing .......................... Error! Bookmark not defined.

xiv

You might also like