Re:OCRmyPDF: Add an OCR text layer to scanned PDF file
by gumboshoes on Saturday July 09, 2022 @10:02AM
(#32035166)
This command:
ocrmypdf --deskew --clean-final --output-type pdf --tesseract-timeout 600 --force-ocr -l eng --jbig2-lossy --optimize 3 /Users/username/Desktop/C1jn2Kz.png.pdf /Users/username/Desktop/C1jn2Kz.out.pdf
generates a PDF with this text for me:
Bad Ul is causing people to get scammed
2022-07-08
If you've asked anybody who's tried to sell anything on Facebook Marketplace, Offerup or
Craigslist, | can guarantee you that every one of them have encountered somebody trying to
scam them. I've encountered quite a few but I'll explain how this particular scam works and how
bad UI contributes to scammers being successful.
ocrmypdf --deskew --clean-final --output-type pdf --tesseract-timeout 600 --force-ocr -l eng --jbig2-lossy --optimize 3 /Users/username/Desktop/C1jn2Kz.png.pdf /Users/username/Desktop/C1jn2Kz.out.pdf
generates a PDF with this text for me:
Bad Ul is causing people to get scammed 2022-07-08 If you've asked anybody who's tried to sell anything on Facebook Marketplace, Offerup or Craigslist, | can guarantee you that every one of them have encountered somebody trying to scam them. I've encountered quite a few but I'll explain how this particular scam works and how bad UI contributes to scammers being successful.
I see one error — "I" recognized as a pipe.
On edit: here's the output PDF:
https://www.dropbox.com/s/8l9otcu9ohyoz9w/C1jn2Kz.out.pdf?dl...