View Single Post
Old 02-10-2017, 05:17 PM   #1358
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 dhdurgee View Post
Is there a way to use the OCR engine in k2pdfopt to produce a text file from a PDF? I would like to create an epub from a PDF and the text file would be a good start. I would also need to use -as to rotate a few pages that are tilted...
Yes, you can use the -ocrout command-line option:
Code:
k2pdfopt -ocrout outfile.txt myfile.pdf
Check my OCR help page. Also be sure to get the latest version (v2.40) which does OCR faster using multi-threading. Finally, you might want to read through my page on PDF conversions for e-books.
willus is offline   Reply With Quote