FAI Calculator

Fuzzy Audiometric Index β€” preserving diagnostic gradation

Left Ear

dB HL

Right Ear

dB HL

πŸ“ˆ Audiogram

live β€” updates as you type
Left β€” measured Right β€” measured inferred (interpolated)

Drag & drop an audiogram image, or

Audiogram preview

Detecting grid, symbols & calibrating axes…

FAI
Config
PTA-4

πŸ”Œ REST API

Integrate with EHR systems or external tools. Missing frequencies (e.g. no 250 Hz or 3000 Hz) are interpolated automatically.

POST /api/classify β€” single ear (sparse OK)
{
  "thresholds_left": {"500": 25, "1000": 30, "2000": 35, "4000": 45, "8000": 50},
  "thresholds_right": {"500": 40, "1000": 45, "2000": 50, "4000": 60, "8000": 70}
}
POST /api/classify β€” side-by-side ear comparison
{
  "thresholds_left": {"250": 20, "500": 25, "1000": 30, "2000": 35, "4000": 42},
  "thresholds_right": {"250": 45, "500": 50, "1000": 55, "2000": 60, "4000": 70},
  "compare": true
}
β†’ { "left": {...}, "right": {...}, "better": "left", "delta": {...} }
POST /api/ocr (multipart: file)
curl -F "file=@audiogram.png" https://fai.thinkloop.org/api/ocr
POST /api/ocr-classify (multipart: file)
curl -F "file=@audiogram.png" https://fai.thinkloop.org/api/ocr-classify
GET /api/fhir/observation?patient_id=…
FHIR Observation bundle (EHR integration stub)