logoalt Hacker News

layla5alive • today at 8:34 PM • 1 reply • view on HN

You should be able to skip the OCR step by grabbing the actual text from the windows via OS APIs, unless your PDFs are scanned and not encoding digital text.


Replies

Escapado • today at 9:08 PM

Lots of them are scanned sadly! But I added an alt mode where a selection gets translated without the OCR step - though OCR is on the order of 100ms so I don’t mind it that much