Documents connector

Document text / OCR

doc:// turns document text extraction into a first-class URI instead of ad-hoc shell + pdftotext. doc://host/file/query/text returns the text of a PDF or image: a text-layer PDF goes through poppler pdftotext; a scan/image falls back to OCR, rasterising PDF pages (pdftoppm/pdfimages/magick) and running the first available engine — tesseract, then RapidOCR (the ONNX engine reused from wronai/img2nl, no system binary needed), then an Ollama vision model (reused from wronai/ocr). doc://host/file/query/ocr forces OCR; doc://host/engine/query/list reports which engines are present. Useful for classifying invoices and any scanned document over the mesh.

dostępny ✓ zweryfikowany

Co robi

  • Extract the text layer of a PDF inside a flow.
  • OCR a scanned invoice or image that has no text layer.
  • Check which OCR engines are available on a node.

Schematy URI

doc://

Wymagania

  • Array
  • Array
  • Array