Professional Documents
Culture Documents
fin_irjmets1680970458
fin_irjmets1680970458
Fig.5. Difference between Normal vision and vision of a person suffering withan ocular diseases.
II. METHODOLOGY
The methodology for detecting Glaucoma, Cataract and Diabetic Retinopathy from fundus images is mainly
divided into 4 steps:
(1) Dataset Preparation
Identify the types of eye diseases you want to recognize: The first step is to decide which eye diseases you want
your model to identify. Some examples might include glaucoma, cataracts, macular degeneration, or diabetic
retinopathy.
Collect images of eyes: The next step is to collect a large dataset of images of eyes with and without the diseases
you want to recognize. You can use public datasets like EyePACS, DRIMDB, or Kaggle’s Diabetic Retinopathy
Detection dataset.
Table 1. Description of the dataset.
Class Name Training Images Testing Images Validation Images Total
Cataract 700 150 150 1000
Diabetic
700 150 150 1000
Retinopathy
Glaucoma 700 150 150 1000
Normal 700 150 150 1000
Activation has the authority to decide if a neuron needs to be activated or not by measuring the weighted sum.
ReLU returns the value provided as input directly, or the value 0.0 if the input is 0.0 or less. Because rectified
linear units are nearly linear, they preserve many of the properties that make linear models easy to optimize
with gradient-based methods. They also preserve many of the properties that make the linear model generalize
well. Transfer learning, fine tuning techniques, and ResNet, Efficient Net, and VGG deep learning pretrained
models involved in our project; Soft Max activation layer used in the output.
∑
(1)
The model has a total of 11,184,179 parameters out of which 11,093,804 are trainable and 90,375 are non-
trainable parameters. Finally, in compilation step, the model is compiled using Adam optimizer whose learning
rate is set to 0.001 and loss is set to categorical cross entropy.
Fig.8.Flow Chart
Accuracy alone is insufficient to evaluate the model's efficiancy. Our model and three pretrained deep learning
models are evaluated using a variety of measures, including Accuracy, Recall, Precision, and F1-Score., as
accuracy(acc) = , precision(P) = , recall(R)= , F1-Score = . True-positive, true-
negative, false-positive, and false-negative samples, respectively are indicated by the letters TP, TN, FP, and FN.
Accuracy and F1-Score are successful measures produced by averaging the performance verification findings.
The correctness indicates how exact the numbers are anticipated to be. Precision determines how well a
measurement can be reproduced or anticipated. Recall determines the correct outcome. Because there is an
exchange between accuracy and recall, a corresponding harmonic mean, known as the F1-score, is employed.
IV. RESULTS AND DISCUSSION
The performance of the proposed EfficientNetB3 is discussed in this section. Using the same dataset, our model
and two additional pre-trained algorithms were tested for cataract, diabetic retinopathy, and glaucoma
diagnosis. The experimental Results are compared to cutting-edge approaches cataracts, diabetic retinopathy,
and glaucoma.
Table 2. Comparison between the performance of the proposed three pre-trained models.
Methods Accuracy (%) Precision (%) Recall (%) F1-Score (%)
VGG19 87.6 87.6 87.5 87.5
ResNet50 85.4 86.1 85.3 85.4
EfficientNetB3 87.3 87.7 87.2 87.4
EfficientNetB3
92.4 92.3 92.3 92.3
with Fine Tuning
www.irjmets.com @International Research Journal of Modernization in Engineering, Technology and Science
[747]
e-ISSN: 2582-5208
International Research Journal of Modernization in Engineering Technology and Science
( Peer-Reviewed, Open Access, Fully Refereed International Journal )
Volume:05/Issue:04/April-2023 Impact Factor- 7.868 www.irjmets.com
A. PERFORMANCE OF EfficientNetB3
On the same dataset, we create two pre-trained CNN models (with high classification results) to assess how
well EfficientNetB3 performs. These models are (i) VGG-19 [29], and (ii) ResNet50[30]. In Table 2, the
effectiveness of our EfficientNetB3 is evaluated in terms of Accuracy, Precision, Recall, and F1-Score in
comparison to various pre-trained models. The best performance is highlighted in bold. In all evaluation
metrics, our suggested EfficientNetB3 takes first place and performs at the highest level. In comparison to the
remaining pre-trained models, EfficientNetB3 exceeds them with an accuracy of 87.3%.
Fig. 6 shows the EfficientNetB3's confusion matrix. A predicted label and an actual label, respectively, are
assigned to each row and column of the table. Out of 633 valid images 48 are wrongly classified. From fig. 6 we
can see 10 cataract images are wrongly classified as Glaucoma and normal, 2 Diabetic Retinopathy are wrongly
classified as normal, 21 Glaucoma images are wrongly classified as Cataract and normal, and 15 normal images
are wrongly classified as Cataract, Diabetic Retinopathy and normal.
In fig. 7, illustrate the validation loss, accuracy, precision and recall curves of the EfficientNetB3 model
respectively. The number of epochs is represented on the X-axis, and the loss, accuracy, precision, and recall
values are on the Y-axis. These graphics demonstrate the validation and training loss curves have merge
together after 6th epoch whereas, accuracy, precision and recall of validation and training curves become
parallel after 6th epoch.
B. COMPARISON
Table 3 summarises the reported studies on deep learning-based cataract, diabetic retinopathy, and glaucoma
detection and provides the studies' accuracy, precision, recall, and f1-score. High values for recall, accuracy,
precision, and f1-score have been bolded. Our model has the high accuracy, precision, recall, and f1-score
compared to the previous works. Our model is performing poorly on glaucoma and has less accuracy when
compared to the. However, when compared to other models, this model outperforms them in terms of accuracy,
recall, and f1-score. By Deep learning-based classifiers to detect cataract with accuracy of 92%. Deep learning-
based algorithms were used to identify detect diabetic retinopathy with about 85% accuracy. By using Machine
learning-based classifiers to detect Glaucoma with accuracy of 81%. Table 4 summarizes the predictions of the
proposed model on a new dataset.