View Single Post
Old 03-08-2022, 10:45 PM   #13
willus
Fuzzball, the purple cat
willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.willus ought to be getting tired of karma fortunes by now.
 
willus's Avatar
 
Posts: 1,303
Karma: 11087488
Join Date: Jun 2011
Location: California
Device: iPad
Quote:
Originally Posted by ownedbycats View Post
I am now very confused. I just wanted to add a text layer to some scanned booklets I had for search purposes.
If you cannot get ocrmypdf working in Windows or are not comfortable with the command line, you can try k2pdfopt. It will unfortunately re-render each page as a new bitmap (this can be good if you want to change the resolution of the original PDF, or it can be bad if the original PDF uses better a better compression technique than k2pdfopt). If using the MS Windows GUI, select "copy" for the conversion mode and the check the "OCR (Tesseract)" box.

If you dig deeper there are options to adjust contrast, gamma correction, and output resolution.

Last edited by willus; 03-08-2022 at 10:52 PM.
willus is offline   Reply With Quote