A Python-powered tool to accurately identify and annotate the pupil in eye images and detect signs of early cataract.
This script utilizes OpenCV's computer vision algorithms to detect and annotate the pupil in ocular images, facilitating the assessment of cataract symptoms.
For a detailed technical analysis and the methodologies behind this script, refer to our IEEE publication:
Automated detection of eye diseases
Below are some sample outputs of our cataract detection:
To use the script, run the following command:
python detect_cataract.py path_to_image.jpg
The script depends on the following libraries:
- OpenCV
- NumPy
Ensure you have these libraries installed or check the requirements.txt
for more information.