Offline macOS Vision OCR for Scanned PDFs

Scanned documents, invoices, and exported images have zero embedded text characters, making them impossible to edit in standard PDF readers. Mac PDF Editor solves this with zero external downloads by tapping directly into Apple’s native Vision Framework.

How It Works Under the Hood

  1. Click OCR in the top toolbar or Run macOS Vision OCR in the Inspector.
  2. The current page is rendered at 2.0x resolution and passed to the Rust command ocr_page_png.
  3. Rust invokes VNRecognizeTextRequest (.accurate mode, supporting en-US and ru-RU) locally on your Mac’s Neural Engine / CPU.
  4. Detected text lines and normalized bounding boxes are overlaid onto the page and immediately highlighted in Text (T) mode for one-click editing.

Why Native Apple Vision?