5 ms·
One thing that I’ve done that makes my paper handling process much easier is have my printer/scanner point to a write only samba share. Most HP printers support
by noodlesUK 3y ago
One thing that I’ve done that makes my paper handling process much easier is have my printer/scanner point to a write only samba share. Most HP printers support this. I wrote a short script that looks for new files in there (with inotify), runs OCR on them with OCRMyPDF and moves them to a different file share. It means that my non-technical family members can just stick the paper in the document feeder, and 20 seconds later, an OCRed copy ends up on the family file share. You don’t get the fancy tagging and search that this provides, but file shares integrate natively into all OSs, which is a huge perk.
- doubled112 3y agoI wanted to read the article, but it was incredible twitchy on my iPhone. I scan into a Samba share that paperless-ngx picks up automatically, OCRs, tags, and deletes. A web application is pretty cross platform too, at this point. Plus I can get to them on my phones with less trouble than a share.
- noodlesUK 3y agoYeah, I was looking at the docs for this and it looks like a somewhat more featureful version of what I’ve stuck together. How does it handle when you have digital documents you want to store (a la google drive or similar)?
- djhworld 3y agoI've done something similar although I had to jump through a few hoops to get it to work. I have a Fujitsu ScanSnap which is one of those feed-through scanners. I have it hooked up to a Raspberry Pi which listens for the button press on the scanner. You press the button, the paper feeds through the scanner and once it has finished the scan a script runs to collate everything into a PDF and drops the result onto a Samba share that's running on the box where paperless-ngx is. It's pretty neat and feels seamless. The worst part was dealing with SANE and finding linux drivers for my scanner.
- godsfshrmn 3y agoDo you have any other info on how to do this? I've looked for this but cannot find how to do
- benbarbersmith 3y agoIf you have any notes on this, I’ve been wanting to set this up for ages and I’d be incredibly grateful!
- mirashii 3y agoPaperless-ngx supports a folder on disk that you can drop files into and have them ingested. Throw in a samba container pointed at the same directory in your docker-compose and you’ve replicated the same setup.
- djhworld 3y agoMy solution was pretty much the same as what this guy did, although he had a slightly different model of scanner to me, but it's a very similar setup https://chrisschuld.com/2020/01/network-scanner-with-scansnap-and-raspberry-pi/ https://chrisschuld.com/2020/01/network-scanner-with-scansna...
- tomatocracy 3y agoI started with a script similar to the one you're using (though hand-crafted) with my ScanSnap S1500 (though I have mine run the PDF conversion in the background so I can immediately scan another document without having to wait - this is easy to do now with scanpdf). I've been doing this for about 12 years now, originally manually sorting into directories and using "pdfgrep" to find stuff but more recently I've put everything into a paperless-ngx instance (gradually tagging all the old documents). I've switched my hand-crafted scripts recently to use scanpdf[1] which seems to give better results (once I tweaked it to be a little less eager to downconvert to B+W). I experimented with using OpenCV models for cropping and straightening (based on examples in a stackoverflow thread at [2]) but I found results were worse than scanpdf so far. 1. http://badge.fury.io/py/scanpdf http://badge.fury.io/py/scanpdf 2. https://stackoverflow.com/questions/28935983/preprocessing-image-for-tesseract-ocr-with-opencv https://stackoverflow.com/questions/28935983/preprocessing-i...
- manuc66 3y ago[dead]