02

Model Comparison Flow

The scanner page runs one uploaded image through a selected model or all registered models.

How Comparison Works

The Compare All Models button sends the uploaded image to /api/compare. The backend loops through the registry, runs each enabled model independently, and returns either a prediction or a model-specific loading/inference error.

  • Each result shows predicted DR grade, severity text, confidence, model description, source type, and notes.
  • One model failure does not stop the rest of the comparison.

Run It

Use the main scanner page to upload a fundus image and compare the registry.