Aman Behera

Writing

Not So Skewed: a deskewer that runs in your browser

1 min readSeeing straight · part 3interactive, computer vision, tools

The theory is nice. Part three is the fun bit: a real deskewer you can throw your own crooked pages at.

Not So Skewed runs the jdeskew estimator entirely in your browser. Drop, paste or pick a page, tilt it on purpose, and see:

  • the input and the straightened page side by side, with the true and detected angle;
  • every step live: the binary page, its spectrum, and the ray that collects the most energy;
  • a robustness sweep across tilts;
  • a bench of ten real phone photos where the original estimator fails, and what each fix changes.

Your images never leave your machine; the work happens in a background thread on your own computer.

Tool · your images stay on your deviceOpen full screen ↗

This is the same straightening step that sits at the front of notSoSmartOCR and LevelHead. If you just landed here, part one explains why a page’s tilt shows up in its spectrum at all.