optimize 1: Enables lossless optimizations, such as transcoding images to more efficient formats. Optimization is performed even if no OCR text is found For example -pages 2,3,13-17, Hyphens denote a range of pages and commas separate page numbersĬontrols optimization. Tell OCRmyPDF to only apply OCR to certain pages. OCR quality may be poor if the wrong language is used. OCRmyPDF assumes the document is in English unless told otherwise. This can help fix a scanning job that contains a mix of landscape and portrait pages. OCR will attempt to automatic correct the rotation of each page. No OCR will be performed on pages that already have text.Īdd an OCR layer and output a standard PDF This is to ensure that PDFs that were previously OCRed or were “born digital” rather than scanned are not processed. If a page in a PDF seems to have text, by default OCRmyPDF will exit without modifying the PDF. If regular PDFs are desired, this can be disabled with -output-type pdf option. OCRmyPDF is limited by the Tesseract OCR engine, the PDF specification, and Ghostscript limitations.īy default, OCRmyPDF produces archival PDFs – PDF/A, which are a stricter subset of PDF features designed for long term archives. OCRmyPDF uses Tesseract, the best available open-source OCR engine, to perform OCR. OCRmyPDF is a Python 3 application and library that adds OCR layers to PDFs. OCRmyPDF is the most feature-rich and thoroughly tested command line OCR PDF conversion tool.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |