Posts

Showing posts with the label pdf

OCR pdf file in python on the fly

With   PyMuPDF and tesserocr you can OCR image pdf easily

Create searchable pdf with c++ and tesseract

Image
Many office machines creates pdf as result of scan instead of  image. Unfortunately not always they includes also text layer for copy&paste or they include text layer based on default language of scanner and not document language. In such cases you can use  tesseract to crete "searchable pdf".

pdf to image/multipage (in python)

Many people love pdf format as such files are readable on all common devices and it provide stable representation of document. But somehow also scanner started to support it but with one feature: they just encapsulate images to it without OCRing it, so such pdf are not reachable.