Place your pre-trained CNN model here:
app/models/visionid_v1.h5
- Input: (None, 224, 224, 3) — RGB image normalised to [0, 1]
- Output: (None, 5) — softmax probabilities for 5 classes:
0. No DR
- Mild NPDR
- Moderate NPDR
- Severe NPDR
- Proliferative DR
If the model file is absent, the AI service runs in demo mode and returns a random plausible prediction so the UI still works.