- Install Python in at least 3.10 version
- Install required packages:
pip install -r requirements.txt
- Install the OpenCV library. For the CPU version, install using the PIP package manager. For GPU version, install manually using instructions: https://thinkinfi.com/install-opencv-gpu-with-cuda-for-windows-10/
To run the solution, run the main.py file. To adapt the solution, modify lines 7 and 9 in this file, indicating the path to the file with the fundus photo and the mode number, respectively. The number 0 means CPU and 1 means GPU.