The objective of this project is to develop a computer vision application capable of detecting signs of diabetes and diabetic retinopathy from retinal images. By leveraging advanced image processing techniques and machine learning algorithms, the system aims to assist healthcare professionals in early diagnosis and monitoring of diabetic patients.
- Update config.yaml
- Update secrets.yaml [Optional]
- Update params.yaml
- Update the entity
- Update the configuration manager in src config
- Update the components
- Update the pipeline
Here, I have used two datasets.
You can use your own dataset. Just replace the URL of the dataset in config/config.yaml/data_ingestion/ml_data_source_url
and config/config.yaml/data_ingestion/source_URL
https://github.com/utpalpaul108/Diabetic-Retinopathy-Prediction
Using Anaconda Virtual Environments
conda create -n venv python=3.10 -y
conda activate venv
Or for Linux operating system, you can use that
python3.10 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
Finally, run the following command to run your application:
python app.py
Now,open up your local host with a port like that on your web browser.
http://localhost:8080
Before predicting, you have to train the models with your own dataset.
http://localhost:8080/train-diabetes-prediction-model
http://localhost:8080/train-diabetic-retinopathy-prediction-model
After completing the training, you can now predict the signs of diabetes and diabetic retinopathy from retinal images.
http://localhost:8080