WOLBΛRG

OCR

Extract text from images with tesseract.js during Wolbarg ingest.

What is it?

Optical character recognition via the ocr: tesseract() provider, used during image ingest.

Why does it exist?

Many useful facts live inside pixels (UI text, labels, scanned pages). OCR turns them into embeddable strings.

How does it work?

npm install tesseract.js
import { tesseract } from "wolbarg";

ocr: tesseract()

OCR requires installing tesseract.js in your app. Scan-only PDFs are not OCR'd as PDFs in v0.2 — convert to images or use a vision provider on image fixtures.

When should it be used?

Screenshots and photos with readable text where you do not need scene captions. Combine with Vision Models for richer descriptions.