Skip to content

v0.1.1: automatic OCR for mixed PDF pages

Choose a tag to compare

@SkanderBog SkanderBog released this 02 Oct 09:33

Automatic OCR now checks for embedded images as well as sparse text. A page containing selectable prose above a scanned receipt no longer silently skips the receipt.

  • Preserve the original selectable text and append a clearly labeled OCR reading on mixed pages. Duplicate readings are identified explicitly.
  • Report unavailable image detection and OCR. Empty OCR output cannot erase selectable text.
  • Expose embedded-image counts during inspection and warn about equation and table structure that plain text cannot preserve.
  • Keep processing local, serialized, cancellable and bounded. No cloud parser, background model download or desktop modification is required.

Requires Poppler's pdfimages in addition to the existing native tools. Logos and searchable scans can trigger extra OCR; ocr: "off" bypasses it.

Validation: all 22 packaged integration tests passed on Linux (Node 22 and 24) and macOS (Node 24). The synthetic eight-page comparison recovered all three previously missed mixed-page receipt facts without changing other extraction scores. General mathematical notation recognition remains unverified and requires visual checking or a specialized parser. Packaged desktop GUIs and Windows plugin execution were not tested.

Install the attached archive using the plugin manager for your existing Harness profile. This release does not change a running installation automatically.