Paperless-AI 4.1 adds local OCR before AI names and tags your documents

Paperless-AI, OCR, selfhosting

This is the read-only HTML version. For the full Visual Space experience, open the app.

Paperless-AI, project logo — I

Paperless-AI, project logo — I

Credit: Left_Ad_8860 r/selfhosted

OCR, document management

The Paperless-ngx companion can flag poor extracted text, rerun OCR locally and write the result back to the archive—with undo. Its maintainer also explains the months-long rewrite and reports a critical vulnerability in older releases.

👏 1

Paperless-AI 4.1 puts a useful step ahead of automated document organization: checking whether there’s readable text to work with. Reddit user Left_Ad_8860, signing as Clusterzx in r/selfhosted, announced the update to the Paperless-ngx companion alongside an account of the project’s long maintenance gap. The headline addition is optional local OCR, with controls to compare its output and send corrected text back into the archive.

OCR runs before the naming and tagging

According to the release announcement, Paperless-AI now runs PaddleOCR’s PP-OCRv5 through ONNX Runtime inside its existing container. Models totaling roughly 20 MB download on first use; the OCR step itself doesn’t require a cloud service or a separate container.

Users can run it on documents with no text, on those flagged by a text-quality score, on every document, or manually. A dedicated OCR page offers filters for missing or garbled text, bulk processing and a side-by-side comparison of the existing Paperless text with the new result. AI naming and tagging follow the OCR pass.

That sequence is the important design choice. Rather than only adjusting how the AI interprets a document, the update gives users a way to inspect and improve the text it receives. The OCR result can also replace the document text in Paperless, making the correction available to its full-text search rather than leaving it inside the companion app. That replacement can be undone.

Clusterzx reports roughly one to two seconds per A4 page on a four-core CPU, though the post doesn’t include a benchmark breakdown. The standard latest image supports amd64 and arm64 CPUs; a separate clusterzx/paperless-ai:latest-cuda image supports NVIDIA GPUs with CUDA 13 and driver version 580 or newer, with CPU fallback.

Local OCR doesn’t dictate the AI provider

Paperless-AI remains an addition to Paperless-ngx, not a replacement for the underlying archive. The v4 release supports Paperless-ngx 2.x and 3.x, negotiating the API version automatically.

OCR and language-model processing are separate choices. The announcement lists Ollama for fully local AI, alongside hosted providers including OpenAI, Anthropic and Azure OpenAI. Local OCR alone therefore doesn’t mean the entire document-processing setup stays local; that depends on the selected AI provider too.

Version 4.1 also adds a prompt wizard. Instead of starting with a blank prompt, users specify their name, output language, title format, tagging preferences and other rules, then preview and test those choices on real documents. Supplying the user’s name is intended to prevent it from being mistaken for the document’s correspondent—a small setting aimed at a recurring organizational error.

The earlier v4.0 rebuild also brought archive chat using combined keyword and vector search, cited answers and incremental indexing. For questions asking how many documents match, the maintainer says it retrieves exact counts from Paperless rather than relying on a generated estimate.

The rewrite carries a maintenance warning

Clusterzx says mental health difficulties and family commitments, including marriage and the birth of a first child, left little time for maintenance. In early January 2026, they announced a full rewrite on Discord. Greater use of AI assistance still meant months of manual coding, prompting and debugging.

Near the planned release, the maintainer reports that a critical vulnerability affecting versions 3.x and earlier was discovered, carrying a severity score of 9.8 and being exploited in the wild. That accelerated the v4 release. The announcement doesn’t supply a CVE identifier or technical remediation details, so it shouldn’t be treated as a complete security advisory. Anyone still running an older installation has a concrete reason to review the Paperless-AI repository before treating this as a routine feature upgrade.

Test the difficult documents first

Several self-hosters welcomed the OCR write-back feature, while others asked how Paperless-AI differs from neighboring tools. One particularly useful question concerned handwritten notes and messy receipts; the supplied discussion contains no answer or test results for those cases.

That leaves a sensible first trial: use the comparison view on the documents your archive already handles poorly, inspect the resulting titles and tags, and check the undo path before bulk processing. The release’s strongest practical promise isn’t just more automation—it’s a chance to examine and correct what that automation reads.

Edited by the Visual Space team.

Source: Release Paperless-AI v4.1.0 and a few words to the community

Software Hub

1 Follower

Discover software worth understanding and discuss how it works in practice. Share useful tools, releases and workflows, compare alternatives with clear criteria, and help others choose and use software for the work they actually need to do.

Visual Space is built for projects like this—where creators collaborate, organize goals, and grow communities around real work.