Benchmark

Image text editing accuracy, measured.

Most pages about editing text in an image quote a success rate with no method behind it. This page publishes the number we can defend, how it was produced, and the parts we have not measured.

The measurement covers the sampled fill used to erase text. It is not an OCR score, a font-matching score or an AI success rate.

Open the editor

What the benchmark measures

When text is erased, the editor fills the selection with a colour sampled from a 3 px ring just outside the box. The benchmark runs that same sampling code on patches whose true background is known, then measures the colour error with CIEDE2000 — the ΔE formula from Sharma et al., 2005.

  • 60 synthetic 96×96 px patches: 12 seeded patches in each of five background families.
  • A 64×64 selection, sampled from a 3 px ring, with no text inside the patch.
  • Two fills compared: a solid average colour, and the default blend with a vertical edge gradient.
  • Deterministic seeds, so the table is reproducible rather than a one-off run.

Last run 22 November 2026. The numbers below are that run, not a rolling average.

Results

BackgroundSolid fillBlend (default)Pixels over ΔE 2
Solid colour0.000.000.0%
15% vertical gradient1.980.880.9%
15% diagonal gradient1.510.811.0%
Photo noise (σ 10)1.531.5529.7%
Stripes, ±35 levels7.897.7486.3%

Read it as a gradient of difficulty. On a solid colour the patch is invisible. On a mild gradient the blend pulls the error under 1.0 ΔE, with about 1% of pixels over the threshold. Photo grain leaves the average low but puts roughly 30% of pixels over the threshold, which is why a fill on a textured photo can look flat even when the mean is good. Stripes fail outright: 86% of filled pixels are visibly different.

A flat fill measures 0.00 ΔE on a solid colour, 0.88 on a 15% gradient and 7.74 on stripes — with 86.3% of striped pixels past the just-noticeable threshold.

How to read the numbers

ΔE 2 is roughly a just-noticeable difference on a flat area. The mean alone hides the tail, so the last column gives the share of pixels above that threshold: two rows can have a similar average and behave very differently at the edge of the patch.

A good mean with a bad tail is the grain row. A bad mean is the stripe row. Neither is a bug in the sampler; both are the reason the editor says a flat fill suits flat backgrounds and recommends blur or the AI repair on a busy photo.

Run it yourself

From the repository root, pnpm bench:text-fill prints this table. The script imports the editor’s sampling function, so a change to the sampler shows up as a changed number rather than drifting away from the published one. It also checks its ΔE2000 implementation against the Sharma reference pair (2.0425) and exits non-zero if the maths breaks.

What this benchmark does not cover

  • Real photos. No 100-image corpus with cameras, JPEG artifacts and screenshots. When we run one, the method and the failures will be published here.
  • The AI repair path. No success rate for rebuilding a background inside a marked area, by model or by background type.
  • Font matching. The editor does not identify typefaces, so there is nothing to score.
  • Long text and non-Latin scripts. No measured accuracy for either.
  • Bit-exact preservation through export. The export re-encodes the canvas, so this page measures colour error inside the box, not byte equality outside it.

We would rather publish five rows with a method than a headline percentage that cannot be checked.

Questions

What does ΔE 2 mean?

ΔE 2 is roughly a just-noticeable difference between two colours on a flat area. Below it, a filled patch is hard to see; well above it, the patch reads as a different colour.

Is this a success rate for AI text editing?

No. It measures the sampled fill used for erasing, not OCR, font matching or the AI repair path. The table says how close the replacement colour gets, not how often an edit “works”.

Why use synthetic patches instead of real photos?

Because the true background is known exactly and the run is deterministic, so anyone can reproduce the number. Real photos add grain, JPEG artifacts and lens blur; we have not published that corpus yet.

Can I reproduce the table?

Yes. Run pnpm bench:text-fill at the repository root. The script uses the editor’s own sampling code, seeds every patch, and checks its ΔE2000 implementation against the Sharma reference pair before printing the table.

Sign in to continue

Get credits

RetypicAI text fixNo. 0001

20 text fixes

Starter pack · $0.25 per area

  • 20 text fixes$4.99
  • Never expiresINCL
  • Edit · erase · blurINCL

SUBTOTAL$4.99

TOTAL$4.99

No. 0001 · Thank you
RetypicAI text fixNo. 0002

60 text fixes

Creator pack · $0.20 per area

  • 60 text fixes$14.97
  • Never expiresINCL
  • Edit · erase · blurINCL

SUBTOTAL$14.97

PACK SAVINGS-$2.98

TOTAL$11.99

No. 0002 · Thank you
Best value
RetypicAI text fixNo. 0003

150 text fixes

Studio pack · $0.17 per area

  • 150 text fixes$37.43
  • Never expiresINCL
  • Edit · erase · blurINCL

SUBTOTAL$37.43

PACK SAVINGS-$12.44

TOTAL$24.99

No. 0003 · Thank you

New accounts start with 3 free fixes.

Secure checkout. Failed generations refund their credits. Refund policy