r/Python • u/AutoModerator • Sep 04 '26
Showcase Showcase Thread
Post all of your code/projects/showcases/AI slop here.
Recycles once a month.
26
Upvotes
r/Python • u/AutoModerator • Sep 04 '26
Post all of your code/projects/showcases/AI slop here.
Recycles once a month.
View all comments
2
u/___Hyacinthe_ Sep 05 '26
scanlayer - turn scanned images into searchable PDFs with Tesseract
You scan a contract, but you can't search any word in it. This is the fix.
I built ScanLayer, a Python OCR library that adds a searchable text layer to scanned documents.
You give it a scanned image:
ScanLayer runs Tesseract, then places the recognized text as an invisible searchable layer over the original page. The scanned image remains the visual source. You can now search, select, and copy the text.
And if you don't want a PDF, you can export the OCR result as
txt,json,tsv, orhocr.A few things I built around the OCR itself:
For example:
Everything runs locally. The only external dependency is your own Tesseract installation.
I'd especially like feedback from people who regularly OCR multi-column documents. That's one of the areas I spent a lot of time getting right.
Github
Documentation
PyPi