submitted 6 months ago* (last edited 6 months ago) by to c/selfhosted@lemmy.world
 

It's perfect! Do you guys already do this?

I open a letter, I take it's picture with FairScan. The FairScan-folder on my android device gets syncthinged to the ingest folder for Paperless-ngx on my "server". Paperless imports it, deletes the file and sets the new documents tag to inbox. I decide if the document goes to the binder for important stuff, or if I just toss it in a binder with all the paper I most likely will never touch again. Next time I look at Paperless, I edit all documents with the inbox tag and remove the tag.

you are viewing a single comment's thread
view the rest of the comments
[โ€“] 1 point 6 months ago

Yeah, I do this:

magick "$file" -limit memory 1GiB -limit map 2GiB -threshold 60% -define connected-components:area-threshold=5 -define connected-components:mean-color=true -connected-components 8 output.png

It makes the scan 1-bit black and white. It mostly removes bright background images, if there are any on the pages. I think it works quite well for basic black and white documents, but color graphics and graphs aren't preserved.

  • source
  • parent