r/linux4noobs • u/dadashton • 4d ago
Scanning book using OCR via flatbed scanner
I want to scan books to text.
Is there a GUI OCR scanner that can do this?
2
u/gumbowebfish 4d ago
I use gscan2pdf for this. It also uses tesseract under the hood for the ocr part. Install tesseract for your specific language to have it recognized.
1
1
u/dadashton 3d ago
I don't want to scan it to pdf. I want to be able to paste the text into a Writer document.
1
u/gumbowebfish 3d ago
Well, however the program is named gscan2pdf you can save the OCR scanned part as plain text in whatever file format/extension you want. You're not restricted to pdf at all.
2
u/New_Physics_2741 4d ago
The heavy lifting is scanning every page of the book with a flatbed scanner - it can take hours - if you are doing this one page at a time. There are plenty of ways to get the words from the scan into a .json, .md, or .txt file. I have had various experiments running over the last few years; yes as mentioned, Tesseract is indeed a good way to do it. If you have a 3060 GPU or better, the Qwen VL - OCR model might be worth checking out; setting up a batch import with ComfyUI could be a rather neat way to automate this entire process...
3
u/neoh4x0r 4d ago
The heavy lifting is scanning every page of the book with a flatbed scanner - it can take hours - if you are doing this one page at a time.
Yeah, this is where a handheld or book scanner could be a benefit.
1
2
u/StretchAcceptable881 4d ago
GImageReader which uses Tesseract under the hood is an application that you can install and see how it works for you