I can't say I've ever wanted to transcribe code from an image. That seems super niche. Perhaps the specific idea is to harvest coding textbooks as training data for LLMs?
How we made our OCR code more accurate
21–30 of 50 posts
Re: How we made our OCR code more accurate
#22Anything that mentions tesseract is about 10 years out of date at this point.
I just built a pipeline with tesseract last year. What's better that is open source and runnable locally? VLLM hallucination is a blocker for my use case.
Otherwise I'd say just use your operating system's OCR API. Both Windows and MacOS have excellent APIs for this.
Re: How we made our OCR code more accurate
#23Anything that mentions tesseract is about 10 years out of date at this point.
Quite simply, you’re completely wrong. Modern tesseract versions include a modern LSTM AI. It can very affordably be deployed on CPU, yet its performance is competitive with much more expensive large GPU-based models. Especially if you handle a high volume of scans, chances are that tesseract will have the best bang per buck.
Re: How we made our OCR code more accurate
#24Re: How we made our OCR code more accurate
#25Neat article, but I feel like I have no idea why they're doing this! Is transcribing code from images really such a big use case?
Re: How we made our OCR code more accurate
#26Re: How we made our OCR code more accurate
#27Anything that mentions tesseract is about 10 years out of date at this point.
Quite simply, you’re completely wrong. Modern tesseract versions include a modern LSTM AI. It can very affordably be deployed on CPU, yet its performance is competitive with much more expensive large GPU-based models. Especially if you handle a high volume of scans, chances are that tesseract will have the best bang per buck.
Re: How we made our OCR code more accurate
#28Neat article, but I feel like I have no idea why they're doing this! Is transcribing code from images really such a big use case?
Maybe they want to compile the Apollo Guidance Computer source code... https://www.softwareheritage.org/wp-content/uploads/2019/07/...
Re: How we made our OCR code more accurate
#29Tesseract OCR was created by digital (DEC) in 19_8_5 (yes, 40 not four YEARs ago). Now go back and read the article and ROFL with me.
Re: How we made our OCR code more accurate
#30I can't say I've ever wanted to transcribe code from an image. That seems super niche. Perhaps the specific idea is to harvest coding textbooks as training data for LLMs?
I can also imagine plenty of YouTube tutorials that type the code live... seems fairly useful