← All models Β· NAFNet deblurring

Multi-model Β· deblur β†’ text detection Β· WASM

Restore, then find the hidden text

A blurry document hides its own text from a detector. Here NAFNet restores the image first, then the on-device DBNet text detector runs on the result β€” and finds text regions the blur was smothering. Two models, chained, entirely local.

Run it

Two models load below (deblur ~92 MB, detector ~2.4 MB). Pick a text sample, then run the pipeline β€” we detect on the blurred image and on the restored one so you can see the gain.

1 Β· NAFNet (deblur)
2 Β· DBNet (text detection)

Blurred β†’ detected

Restored β†’ detected

Both models run on-device; the image, the restoration, and the boxes never leave the tab.

Why chain them

Restoration is a force-multiplier for downstream vision: a detector, OCR model or classifier all see cleaner structure after a deblur. This is the on-device version of a classic document pipeline β€” no server, no upload, each stage a real model running in your browser.