unpaper / unpaper

A post-processing tool for scanned sheets of paper.
1.01k stars 89 forks source link

Unpaper for pre OCR image processing #63

Open Artgit opened 6 years ago

Artgit commented 6 years ago

I'm very new to unpaper tool and I have the following question:

Let's say I have test.png image. This is a scanned image that contains text document with the scanning artifacts.

Could you please show the typical unpaper command that will help in automatic mode to remove the scanning artifacts as much as possible ? Thanks.

amo13 commented 2 years ago

This is what paperless-ngx calls: unpaper -v --dpi 72.0 --layout none --mask-scan-size 100 --no-border-align --no-mask-center --no-grayfilter --no-blackfilter --no-deskew /tmp/tmp66wznyew/input.pnm /tmp/tmp66wznyew/output.ppm

I've never used it myself though. Just saw this while trying to figure out and report a potential bug with unpaper.