Sign inSign up

planbee/syno-ocr

By planbee

•Updated almost 5 years ago

OCR-Server auf Synology DSM NAS

Image
12

100K+

planbee/syno-ocr repository overview

⁠Syno-OCR: Conversion of scanned PDF to PDFs containing text

Little microservice monitoring any /src? directory for new files. The file is passed via Tesseract to include a text layer with the recognised text content.

Barcodes are put into the pdf attributes (BARCODE1...BARCODEx) if any are found.

Especially for Swiss people the ESR-Row of the old invoice is recognised as well and put into some pdf attribute variables accordingly.

⁠Usage

docker run -v /var/scanner_in:/src1 -v /var/output:/dst1 planbee/syno-ocr

or, with two input/output-channels:

docker run -v /var/invoices_raw:/src1 -v /var/invoices:/dst1 -v /var/otherscans_raw:/src2 -v /var/otherscans:/dst2 planbee/syno-ocr

⁠not working?

The monitoring is done with inotifywait - this will not work on connected network shares. As a (dirty) work-around you could just tear down your container every minute and restart - he will then start with all the files already there. Contact me if you really have this problem.

Tag summary

Content type

Image

Digest

Size

110.7 MB

Last updated

almost 5 years ago

docker pull planbee/syno-ocr