Digital Repository

DiabeVision: Early Detection of Diabetic Retinopathy Using Image Processing and Deep Learning

Show simple item record

dc.contributor.author Sendanayake, Manudini
dc.date.accessioned 2026-03-26T05:38:41Z
dc.date.available 2026-03-26T05:38:41Z
dc.date.issued 2025
dc.identifier.citation Sendanayake, Manudini (2025) DiabeVision: Early Detection of Diabetic Retinopathy Using Image Processing and Deep Learning . BSc. Dissertation, Informatics Institute of Technology en_US
dc.identifier.issn 20200461
dc.identifier.uri http://dlib.iit.ac.lk/xmlui/handle/123456789/3065
dc.description.abstract Diabetic retinopathy (DR) is a long-term eye disease that, if left unattended, leads to irreversible loss of vision. Visual inspection of DR stages from retinal fundus images is time consuming, subjective, and error-prone due to the fine gradations across stages. Early and proper detection is crucial in clinical settings for timely intervention. The core problem addressed within this project is the automatic staging of DR into its five stages using deep learning, resolving the problems of class imbalance, interpretability of the model, and computational effectiveness. This was achieved by using a hybrid deep learning model based on EfficientNetB3 as the base architecture, augmented with a custom Convolutional Block Attention Module (CBAM). The CBAM layer was added after the convolutional feature extractor to amplify feature maps using spatial and channel-wise attention mechanisms. The dataset was rebalanced with targeted oversampling to address class imbalance. In addition, a focal loss function was utilized to increase the penalty imposed on simple examples and focus learning on harder-to-classify samples. The model was deployed using TensorFlow and was trained in two phases: initially with frozen convolutional layers and then with fine-tuning enabled. Preprocessing involved resizing, normalization, and data augmentation to improve generalization. The model was validated using various data science performance metrics. On the test set, it gave an overall test accuracy of 77.42%, macro-ROC AUC score of 0.9414, and 84% training accuracy, demonstrating excellent multi-class classification performance. Accuracy per class was over 98% for the most severe DR stages (classes 3 and 4), confirming the robustness of the model in identifying critical cases. The results confirm again the efficiency of applying EfficientNetB3 using attention mechanisms and focal loss for medical imaging purposes. en_US
dc.language.iso en en_US
dc.subject Diabetic Retinopathy en_US
dc.subject Deep Learning en_US
dc.subject Multi Class Classification en_US
dc.title DiabeVision: Early Detection of Diabetic Retinopathy Using Image Processing and Deep Learning en_US
dc.type Thesis en_US


Files in this item

This item appears in the following Collection(s)

Show simple item record

Search


Advanced Search

Browse

My Account