Live data from Hacker News

Ask HN: What is the best method for turning a scanned book as a PDF into text?

news.ycombinator.com

11–20 of 122 posts

Re: Ask HN: What is the best method for turning a scanned book as a PDF into text?

#11
We do this in our Text to speech app (Read4Me): https://apps.apple.com/us/app/read4me-talk-browser-pdf-doc/i...

You can scan a book and listen (also copy and paste the text extracted to other apps).

If you are looking to do this on large scale in your own UI, I would recommend either of Google solutions:

1. Google Cloud Vision API (https://cloud.google.com/vision?hl=en)

2. Using Gemini API OCR capabilities.(Start here: https://aistudio.google.com/prompts/new_chat)

Re: Ask HN: What is the best method for turning a scanned book as a PDF into text?

#18
depending on the length of these texts — and your technical ability — you might want to check out AWS Textract

it would be easy to set up a pipeline like:

> drop pdf in s3 bucket > eventbridge triggers step function > sfn calls textract > output saved to s3 & emailed to you

Re: Ask HN: What is the best method for turning a scanned book as a PDF into text?

#19
Google Cloud Document AI is amazing, I love it https://cloud.google.com/document-ai?hl=en

It can correctly read many other languages than English if that is something you need. Previously I tried others and there were many errors in conversion. This does it well.

Post reply on HN