Windows configuration
pip install requirements.txt
$env:FLASK_APP = "main"
flask run
-
First browse local directory to select one or many OCT images (PNG or JPEG extension only), open
-
Then click "Upload" button, to load images on web server, images are loaded on the left side of the page,
-
Finally click "Diagnose" button to get results :
-
CNV and DME retinas are red
-
Drusen retina is orange
-
Normal retina is green
-
Endpoint | Method | Result |
---|---|---|
/diagnosis | POST | JSON prediction |
/model | GET | JSON model |
/metrics | GET | JSON metrics |
/classes | GET | JSON classses |
OCT image files are temporary stored in web app server directory : '/static/oct_image'
OCT image files are temporary stored in api server directory : '/data'
Directories are cleared when server is shut down.