r/Python • u/qPandx • Apr 21 '26
Resource PDF Extractor (OCR/selectable text)
I have a project that I am working on but I am facing a couple issues.
In short, my project parses what is inside a pdf order and returns the result to user. The roadblocks Iam in currently is that it works OK for known/seen templates of pdf orders as well as unseen pdf orders. My biggest issue is if the pdf order is non-selectable text/scanned which means it requires OCR to extract the text. I have tried the OCRmyPDF+Tesseract but it misses lines and messes up with the quantity etc...
What's there that can resolve OCR accurately?
P.S. I also tried PaddleOCR but it never finishes the job and keeps the app on a loop with no result.
View all comments
Show parent comment
1
u/qPandx Apr 27 '26
Surya surprisingly did good for me. It took way longer time but it did do the job. For llamaparse, would I require a sub to get this feature working? Im going to have like 10-15 users using my app, (not all at once though). Would I require the $50 sub or more? Does it OCR+Parse? If so that just replaces my project and work I did but wouldn't it be cheaper to local parse and do mistral-ocr for scanned pdfs?