Independent of this, I maintain pdfsandwich deb packages which are available for Download on the project website. Download and Installation Linux Debian/Ubuntuĭebian and Ubuntu provide pdfsandwich through their standard repositories, although not always the latest versions. Since version 0.0.5 pdfsandwich uses tesseract instead of cuneiform for OCR. Since version 0.0.9 pdfsandwich optionally preprocesses scanned pdfs by unpaper. Ghostscript is now optional only needed for resizing pdf pages, if the respective command line option is given. Since version 0.1.5 pdfsandwich uses pdfinfo and pdfunite instead of ghostscript for most operations. Note: If you use Tesseract 4 or later, it is highly recommended to use pdfsandwich 0.1.7 or later, as Tesseract may freeze when called in multiple threads. For optimally scanned pdf files, this can be switched off by option -nopreproc to speed up processing. For instance, slightly rotated pages are automatically straightened and dark edges removed. By default, pdfsandwich runs unpaper to enhance the readability of scanned pages and to improve OCR. While pdfsandwich works with any version of tesseract from version 3.0 on, tesseract 3.03 or later is recommended for best performance. It supports parallel processing on multiprocessor systems. It is known to run on Unix systems and has been tested on Linux and MacOS X. It is able to recognize the page layout even for multicolumn text.Įssentially, pdfsandwich is a wrapper script which calls the following binaries: unpaper (since version 0.0.9), convert, gs, hocr2pdf (for tesseract prior to version 3.03), and tesseract. Pdfsandwich is a command line tool which is supposed to be useful to OCR scanned books or journals. pdf files which contain only images (no text) will be processed by optical character recognition (OCR) and the text will be added to each page invisibly "behind" the images. Pdfsandwich generates "sandwich" OCR pdf files, i.e. Pdfsandwich pdfsandwich: A tool to make "sandwich" OCR pdf files
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |