baicunko / scanyourpdf

Repository for the Scan Your Pdf community
MIT License
614 stars 46 forks source link

Text gets weird background #12

Closed michaelrkn closed 3 years ago

michaelrkn commented 3 years ago

Love this tool, thanks for building it! I noticed that when I save a document as PDF and upload it, the text gets a weird background. Check out this original file and the processed version for example. Thanks for looking into this!

michaelrkn commented 3 years ago

I figured out that this is caused by the +noise Multiplicative argument. Using Gaussian, Laplacian, or Uniform produced better results for me.

baicunko commented 3 years ago

Thanks. I'm currently working on improving the code and this will be included!