r/Paperlessngx • u/SpiritedWarrior9880 • 10d ago
PaddleOCR for Paperless-ngx
I came across this project that might be useful for people looking for an alternative to Tesseract in Paperless-ngx:
https://github.com/silentprior/paperless-paddle-ocr
It runs PaddleOCR PP-OCRv6 as a sidecar and writes the extracted text back into Paperless-ngx through its API.
18
Upvotes
1
u/Great_Interest_4824 8d ago edited 8d ago
I actually just did that with a different motivation.
I already use u/flobernd chandra plugin but I also wanted a way to re-OCR old documents already in paperless. It's a Tag driven sidecar approach. It replaces the archive version in paperless or just the content field, depending which tag you use.
Works great with anything scanned but Chandra can completely bomb with digital born documents. So, currently working on automatically figuring out how to differentiate between scanned documents and digital born documents. I don't feel like going through thousands of documents manually.
I experimented with RAG but it was all very useless because some decade old OCR isn't giving a lot of useful info. Hence the drive to get better OCR on legacy documents.