A deep learning project to detect and classify eye diseases from images using computer vision.
This project leverages a convolutional neural network to classify eye diseases from retinal or eye image datasets.
The model aims to assist medical diagnostics by providing fast, automated, and accurate predictions of common eye conditions.
Ali Akbar Khan
- Python
- Fastai
- PyTorch
- Jupyter Notebook
- Gradio (optional for deployment)
- Architecture:
resnet18pretrained CNN - Training: Fine-tuned for 10 epochs using Fastai's
vision_learner - Metric: Achieved ~92% accuracy on validation set
A labeled dataset of eye images was used, possibly sourced from Kaggle or medical image repositories.
The images represent different categories of eye diseases, such as:
- Cataract
- Glaucoma
- Retina disease
- Normal
git clone https://github.com/aliiakbarkhan/eye-disease-detection-DL.git
cd eye-disease-detection-DLpip install -r requirements.txtUse Jupyter or VSCode to open waste-segregation.ipynb and run all cells.
python eye_app.pyThe model can take any image of retina and classify it into one of the predefined categories with high accuracy. Here's a snapshot of predictions from the Gradio interface.
waste-segregation/
├── eye_disease.ipynb # Main notebook
├── eye_disease_model.pkl # Trained model (optional)
├── eye_app.py # Gradio app (if created)
├── README.md # Project documentation
