Copy link to clipboard
Copied
Hi Community,
It seems that the export of PDF to txt doesn't launch OCR recognition. When converting the attached document to .txt, no text gets recognized.
However converting to DOCX or HTML outputs the recognition text. Please find the script to reproduce in enclosure.
Is it expected? Any suggestion to trigger OCR when converting to .txt would be highly appreciated.
Thanks & regards,
Simon
When you export as text Acrobat doesn't perform OCR on the document.
Export as Word or HTML has this option.
Copy link to clipboard
Copied
Why does you use "com.adobe.acrobat.accesstext" ?
Copy link to clipboard
Copied
Hmm I put it to experiment. I guess "com.adobe.acrobat.plain-text" is the most apropriated. I'm not actually sure about what does "accesstext" means...
However "com.adobe.acrobat.plain-text" still doesn't trigger OCR and outputs a 6 bytes .txt file, containing the UTF16 BOM + 2 space characters.
Any further idea ?
Copy link to clipboard
Copied
When you export as text Acrobat doesn't perform OCR on the document.
Export as Word or HTML has this option.