KEMBAR78
GI FS Removed | PDF | Artificial Intelligence | Intelligence (AI) & Semantics
0% found this document useful (0 votes)
10 views9 pages

GI FS Removed

Uploaded by

likithgn17
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 views9 pages

GI FS Removed

Uploaded by

likithgn17
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/ 9

VISVESVARAYA TECHNOLOGICAL UNIVERS ITY

” Jnana Sangama”, Belagavi, Karnataka-590018

A Project Report on
” Detection of Gastrointestinal Disease Detection
Using Convolutional neural network (CNN)”
Submitted in partial fulfillment of the requirements for the award of the Degree of

Bachelor of Engineering in Artificial Intelligence & Data Science

Submitted by

CHIRANTH HL(4YG21AD010)
LIKHITH GN (4YG21AD025)
GK KISHORE URS (4YG21AD018)
NIKHIL HK (4YG21AD034)

Under the guidance of

Mr. VIVEKANANDA (B.E., M.Tech., (Ph.D))


Assistant Professor
Department of AI&DS, NCEH

Department of Artificial Intelligence & Data Science


NAVKIS COLLEGE OF ENGINEERING
Affiliated to VTU, Recognized by Govt. of Karnataka, Approved by AICTE

KIADB Thimmanahalli Industrial Area, NH-75, KANDALI-573217, Hassan


2024–2025
NAVKIS COLLEGE OF ENGINEERING
HASSAN 573217 - KARNATAKA

DEPARTMENT OF ARTIFICIAL INTELLIGENCE & DATA SCIENCE

CERTIFICATE
This is to certify that the project work entitled ”Detection of Gastrointestinal Disease Detection
Using Convolutional neural network (CNN)” carried out by CHIRANTH HL (4YG21AD010),
LIKHITH GN (4YG21AD025), GK KISHORE URS (4YG21AD018) and NIKHIL HK
(4YG21AD034) bona fide students of NAVKIS COLLEGE OF ENGINEERING, HASSAN
in partial fulfillment for the award of BACHELOR OF ENGINEERING in ARTIFICIAL

INTELLIGENCE and DATA SCIENCE of the VISVESVARAYA TECHNOLOGICAL


UNIVERSITY, BELAGAVI during the year 2024–2025. It is certified that all
corrections/suggestions indicated for Internal Assessment have been incorporated in the Report
deposited in the departmental library. The project report has been approved as it satisfies the
academic requirements in respect of Project work prescribed for the said Degree.

Ms. Mitha D Ms. Mitha D


Project Guide Project Co-ordinator

Mr. Vivekananda Dr. M Venu Gopala Rao


HOD, Department of AI&DS Principal, NCE, Hassan

EXTERNAL VIVA:
Name of the Examiners Signature with Date

1.

2.
DECLARATION

We, CHIRANTH HL (USN- 4YG21AD010), LIKHITH GN (USN- 4YG21AD025), GK


KISHORE URS (USN- 4YG21AD023), and NIKHIL HK (USN-4YG21AD034), students of
Navkis College of Engineering, Hassan, hereby declare that the project titled “Detection
of Gastrointestinal Disease Detection Using Convolutional neural network
(CNN)” has been carried out by us under the supervision of Ms. Mitha D This report is
submitted as a partial fulfillment of the requirements for the award of a degree in the
relevant field. This report has not been submitted in part or full for the award of any
diploma or degree of this or any other University.

BY:
CHIRANTH HL (4YG21AD010)
LIKHITH GN (4YG21AD025)
GK KISHORE URS (4YG21AD018)
NIKHIL HK (4YG21AD034)
ABSTRACT
Gastrointestinal (GI) diseases pose significant health challenges worldwide, necessitating
accurate and timely diagnosis to improve patient outcomes. This project aims to develop an
automated diagnostic system leveraging Convolutional Neural Networks (CNNs) to detect and
classify GI diseases from endoscopic images.

The proposed approach involves preprocessing endoscopic images to enhance quality, followed
by feature extraction using advanced CNN architectures such as VGGNet and Inception Net.
Features extracted from these models are concatenated to form a comprehensive representation,
which is then input into classifiers like Support Vector Machines (SVM), Random Forest (RF),
and K-Nearest Neighbour’s (KNN) for accurate disease classification.

By integrating deep learning techniques with medical imaging, this system aims to assist
healthcare professionals in the early and precise diagnosis of GI diseases, potentially leading to
improved treatment strategies and patient care

i
ACKNOWLEDGEMENT

We take this opportunity to express our sincere gratitude and respect to


Navkis College of Engineering, Hassan, for providing us the opportunity to carry
out this project.

We are ardently thankful to Dr. M. Venu Gopala Rao, Principal, Navkis


College of Engineering, Hassan, for his encouragement and valuable suggestions which
helped us in carrying out the project successfully.

We acknowledge the guidance given by MS. Mitha D, Head of the


Department, Artificial Intelligence & Data Science, Navkis College of Engineering,
Hassan.

We also extend our sincere thanks to our guide Mr. Vivekananda,


Assistant Professor, Department of Artificial Intelligence & Data Science, Navkis
College of Engineering, Hassan, for his valuable guidance and encouragement.

We respectfully thank all the Faculty Members and Staff of our


Department, friends and beloved Parents and family members for their support
and help in the completion of this project.

BY:
CHIRANTH HL (4YG21AD010)
LIKHITH GN (4YG21AD025)
GK KISHORE URS (4YG21AD018)
NIKHIL HK (4YG21AD034)

ii
Contents

ABSTRACT i

ACKNOWLEDGEMENT ii

TABLE OF CONTENTS iii

LIST OF FIGURES vi

1 INTRODUCTION 1
1.1 Introduction about the project ............................................................................................. 2
1.2 Motivation ................................................................................................................................ 2
1.3 Problem Statement ................................................................................................................... 3

1.4 Scope of the project ................................................................................................................. 3


1.5 Objectives ................................................................................................................................. 3
1.6 Organization of Report ........................................................................................................... 4
1.7 Summary…………………………………………………………………………………………....7

2 SOFTWARE REQUIREMENTS SPECIFICATION 5


2.1 Specific Requirements ............................................................................................................. 6
2.2 Hardware Requirements........................................................................................................... 8
2.3 Software Requirements……………………………………………………………………………...9
2.4 Functional Requirements……………………………………………………………………………10

3 SYSTEM REQUIREMENT SPECIFICATION 12


3.1 Design Consider ..................................................................................................................... 12
3.2 System Architecture ............................................................................................................... 13

3.3 Specification Using use case diagram .................................................................................... 16


3.4 Module Specification…………………………………………………………………………...20
3.4.1 Pre-Processing Module.............................................................................................. 21

iii
3.4.2 Module classification Using CNN ............................................................................ 21

4 DESIGN AND IMPLEMENTATION 26


4.1 Convolutional Neural Network (CNN) .................................................................................. 26
4.2 Metrix for Model Evaluation ................................................................................................. 29
4.2.1 Accuracy.................................................................................................................... 31
4.2.2 Precision .................................................................................................................... 36
4.2.3 Recall ......................................................................................................................... 39
4.3 Callbacks for Model Training ................................................................................................ 41

4.4 Image Acquisition .................................................................................................................. 43


4.4.1 Image resizes ............................................................................................................. 45
4.4.2 Normalization ............................................................................................................ 47
4.5 Summary ................................................................................................................................ 49

5 Implementation 50
5.1 Implementation requirements ................................................................................................ 50
5.2 Visual studio code .................................................................................................................. 51
5.3 Programming Language Used…………………………………………………………………..53
5.4 Key Features of Python .......................................................................................................... 54
5.5 Flask GUI………………………………………………………………………………………55
5.6 Open CV-Python Tool………………………………………………………………………….56
5.7 Packages………………………………………………………………………………………..57
5.8 Pseudocodes for Preprocessing Techniques…………………………………………………58
5.9 Pseudocode for CNN Architecture…………………………………………………………..59
5.10 Summary……………………………………………………………………………………..59

6 System Testing 60
6.1 Test procedures ...................................................................................................................... 60
6.2 Unit testing ............................................................................................................................. 61
6.3 System Testing…………………………………………………………………………………..61
6.4 Integration Testing………………………………………………………………………………61
6.5 Summary………………………………………………………………………………………...62

7 Results and Discussion 63

iv
7.1 Experimental Results…………………………………………………………………………..63

7.2 Graphical Interface…………………………………………………………………………….65

7.3 Summary……………………………………………………………………………………….65

8 Conclusion and Future Enhancement 67

8.1 Conclusion……………………………………………………………………………………..67

8.2 Future enhancement……………………………………………………………………………68

REFERENCE

v
List of Figures

3.1 System Architecture for prediction of GI Disease Detection model ......................................... 18

3.2 Use Case Diagram for prediction of GI diseases detection model……………………………………20


3.3 Use Case Diagram for preprocessing model.............................................................................. 21
3.4 Use Case Diagram of Classification using CNN module. ................................................. 23
3.5 Resnet101V2 Model Flowchart ................................................................................................. 24
3.6 Network Architecture ............................................................................................................ 27

4.1 Flowchart for classification using CNN ................................................................................. 52


4.2 Typical CNN Architecture....................................................................................................... 52
4.3 Layers in CNN......................................................................................................................... 53

4.4 Convolutional Layer ............................................................................................................. 53


4.5 Pooling Layer ....................................................................................................................... 54
4.6 Fully connected layer and Output Layer ........................................................................... 54

vi

You might also like