Deep Learning Based Classification of Diabetic Retinopathy

Data Science / AI

Project Details

Project Information

Project Title: Deep Learning Based Classification of Diabetic Retinopathy

Category: Data Science / AI

Semester: Spring 2025

Course: CS619

Complexity: Very Complex

Supervisor Details

Project Description

Deep Learning Based Classification of Diabetic Retinopathy

Project Domain / Category

Data Science / Machine Learning

Introduction:

We aim to utilize Python and deep learning techniques to detect diabetic retinopathy in retinal images. Diabetic retinopathy is a complication of diabetes that affects the eyes and can lead to blindness if not diagnosed and treated early. By leveraging deep learning models, we can automate the classification of retinal images into different stages of the disease, thereby aiding early diagnosis and treatment planning.

Functional Requirements for Web Application:

1.      Getting User Input:

        Develop a user interface where users can upload or input an image of a retinal scan.

2.      Classify the Image:

        Use the deployed deep learning model to predict the severity of diabetic retinopathy in the uploaded image.

        Preprocess the uploaded image to ensure it matches the format expected by the model.

        Pass the preprocessed image through the deployed model for inference.

The following steps are to be followed carefully:

i.  Data Pre-processing:

       Normalize the image data and apply augmentation techniques to improve model performance.

       Split the dataset into training and testing sets for model evaluation.

                                            ii. Algorithm Selection:

       Choose appropriate deep learning models such as Convolutional Neural Networks (CNNs) or pre-trained models like ResNet, Inception, or EfficientNet.

       Experiment with different models to determine the most effective one for this classification task.

        iii. Feature Extraction:

       Extract relevant features from retinal images to assist in classification.

       Use techniques like edge detection, histogram equalization, and vessel segmentation to enhance feature representation.

                                            iv. Confusion Matrix:

       Create confusion matrices to evaluate the performance of classification models.

       Analyze the confusion matrices to assess the accuracy, precision, recall, and F1- score of the models.

                                            v. Model Implementation:

       Implement selected deep learning models using TensorFlow/Keras or PyTorch.

       Train the models on the training dataset and evaluate their performance using the testing dataset.

                                            vi. Accuracy Evaluation:

       Calculate the accuracy of each model on the testing dataset.

       Compare the accuracy of different models to identify the best-performing one.

 

        vii. Ensemble Learning:

       Combine multiple models using ensemble learning techniques such as Bagging, Boosting, or Stacking to improve classification performance.

       Implement ensemble methods like Random Forest (for decision trees) or a combination of CNN models to achieve better predictive accuracy.

       Evaluate ensemble models against individual models to determine their effectiveness.

3.      Show the Class Name:

        Once the model predicts the severity of diabetic retinopathy, display the corresponding classification label (e.g., "No DR", "Mild", "Moderate", "Severe", "Proliferative DR").

4.      Show the Accuracy:

        Calculate the accuracy of the model's prediction.

        Compare the predicted class with the ground truth class if available (e.g., in the case of labeled test images).

        Display the accuracy metric to the user, indicating the reliability of the model's prediction.

Dataset:

Obtain the Diabetic Retinopathy dataset from the given link or use publicly available datasets:

       Link: https://www.kaggle.com/c/diabetic-retinopathy-detection

General Instructions (after project selection):

1.      Use only Skype for communication.

2.      Skype name format should be like: bc123456789 Ali Raza

3.      Use the name as it is on your ID card or student card.

4.      Use only VU email ID (e.g., bc123456789@vu.edu.pk) for communication.

Supervisor:

Name: Muhammad Kaleemullah

Email ID: m.kaleem@vu.edu.pk

Skype ID: kaleembhatti561

 

Languages

  • Python Language

Tools

  • Diabetic Retinopathy Dataset (Kaggle), Machine Learning Algorithms Tool

Project Schedules

Assignment #
Title
Start Date
End Date
Sample File
1
SRS Document
Friday 2, May, 2025 12:00AM
Thursday 22, May, 2025 12:00AM
2
Design Document
Friday 23, May, 2025 12:00AM
Tuesday 29, July, 2025 12:00AM
3
Prototype Phase
Wednesday 30, July, 2025 12:00AM
Friday 12, September, 2025 12:00AM
4
Final Deliverable
Saturday 13, September, 2025 12:00AM
Monday 3, November, 2025 12:00AM

Viva Review Submission

Review Information
Supervisor Behavior

Student Viva Reviews

No reviews available for this project.