Fine-tuned Gemma 4 E2B multimodal model for diabetic foot ulcer (DFU) clinical assessment. Given a wound photo, the model returns a structured JSON with infection status, ischemia signs, severity score, wound area estimate, and a clinical description.
1{2"infection":true,3"ischemia":false,4"severity":6.5,5"wound_area_cm2":3.2,6"description":"Moderate diabetic foot ulcer with perilesional erythema suggesting early bacterial colonization. Wound bed shows partial granulation. Severity assessed at 6.5/10.",7"confidence":0.818}
Field
Type
Description
infection
bool
Signs of bacterial infection (erythema, exudate, necrosis)
ischemia
bool
Signs of compromised blood flow (pallor, dry wound bed)
You are a clinical AI assistant specialized in diabetic foot ulcer assessment.
Analyze the wound image and respond ONLY with a valid JSON object. No explanation, no markdown, no code fences.
Assessment criteria:
- infection: Look for erythema, purulent discharge, warmth indicators, tissue necrosis, perilesional inflammation
- ischemia: Look for pallor, cyanosis, lack of granulation tissue, dry necrosis, pale wound bed
- severity: 0=minimal/healing, 5=moderate progression, 10=critical/limb-threatening
- wound_area_cm2: estimate based on proportion of visible foot area (average adult foot ~180 cm²)
- confidence: your confidence in the assessment (0=very uncertain, 1=highly confident)