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
- Click OCR in the top toolbar or Run macOS Vision OCR in the Inspector.
- The current page is rendered at
2.0xresolution and passed to the Rust commandocr_page_png. - Rust invokes
VNRecognizeTextRequest(.accuratemode, supportingen-USandru-RU) locally on your Mac’s Neural Engine / CPU. - 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?
- No extra packages: No 50+ MB Tesseract language packs to bundle or download.
- 100% private: Your contracts, IDs, and financial scans never leave your Mac.
- High accuracy: Handles skewed scans, multi-column layouts, and mixed English/Cyrillic text.