Document Enhancer
Python tool in Docker
Feed it a skewed, dark, noisy scan and it returns a straight, clean, readable document at 300 DPI.
- Type
- Tools and automation
- Year
- 2025
- What I did
- Whole project
- Links
- GitHub
Phone scans are almost always unusable: skewed, with the shadow of a hand down one side, sensor noise, and a resolution too low to print or to run text recognition on.
The tool fixes them in sequence: deskews the page, crops the borders, corrects uneven lighting, removes noise and brings everything back to 300 DPI. It takes PDF, JPG, PNG and TIFF, and works on whole folders at once.
It works two ways: a web interface with drag and drop, or a REST API to call from another program. All packaged with Docker, so it starts with a single command without installing anything on your machine.