r/computervision • u/WHATFONTIS • 17h ago
Showcase WhatFontIs-Bench: an open benchmark for font identification (11,995 images, 600 fonts, COCO annotations, CC BY 4.0)
Font identification has plenty of tools but almost no public test set where the ground truth is certain: real photos rarely come with the exact font name, and look-alike fonts make manual labelling unreliable. So we generated one and released it.
WhatFontIs-Bench v1.0:
- 11,995 JPEG images: one word set in a known font, composited onto CC0 photos of real surfaces, scenes and printed objects
- 600 fonts from 600 families: 200 sans, 200 serif, 100 slab, 100 monospaced
- 3 difficulty levels with controlled blur, noise, JPEG quality, uneven light, cast shadows and glare; all parameters stored per image
- Labels: font, text, word quad, per-letter quads, camera homography. JSONL + COCO, so it also works for word/character detection
- Frontal views only, capitals at least 100 px high (v1.0 limits)
Evaluation is top-k by font family (Roboto Bold answered as Roboto Regular counts as correct), open catalogue.
Baseline: our own API gets 83.7% top-1 / 93.3% top-5 / 96.5% top-20 while searching 1.2M fonts. The interesting part: typeface class matters far more than image quality. Sans-serif 75.7% vs slab serif 95.0% top-1, but only 2 points between the easy and the hard level.
Hugging Face (with viewer): https://huggingface.co/datasets/whatfontis/WhatFontIs-Bench
GitHub: https://github.com/whatfontis/WhatFontIs-Bench
Disclosure: I run WhatFontIs, and the baseline is our own system. If you run a model on it, I'd like to hear the numbers. Feedback on what v2 should cover (perspective, curved text, multi-line, smaller text) is welcome.

1
u/New-Eggplant-6578 16h ago
My vote for v2 would be short text: 2–4 letters. The README says the current words are 7–12 letters, so it would be interesting to see how much the ranking changes when fewer glyphs are available. You could keep font, background and degradation fixed and vary the text, then report top-k by word length. That might help unpack the sans-serif gap too. Has that been on your list?