$npx skillfedfor your agent

ocrmac

A python wrapper to extract text from images on a mac system. Uses the vision framework from Apple.

With conditionsPyPI Text ProcessingReleased Jan 202685.0K downloads / moMIT licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — ocrmac-1.0.1-py3-none-any.whl
v1.0.1 · released 2026-01-08 · Python >=3.9 · 3 runtime deps: Click, pyobjc-framework-Vision, pillow

Yes, if you are on macOS and need straightforward OCR without external dependencies. The package is permissively licensed, has low install friction, and leverages native macOS capabilities. The aging maintenance status (218 days since release) is not a blocker—the last commit was recent and the repository is active—but verify that your macOS version meets the 10.15+ requirement and that LiveText features require Sonoma if you need them.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires macOS 10.15 or later; pyobjc-framework-Vision is a compiled dependency that only installs on macOS.
  • Low install friction with a pure-Python wheel and minimal dependencies.
  • The package is aging (218 days since last release) but the repository remains active with recent maintenance work on build configuration and test infrastructure.

License · maintenance · safety

MIT license (permissive) — MIT license permits unrestricted use, modification, and distribution with minimal legal constraints.

last release 2026-01-08 (218 days) · last repo commit 2026-01-08 · 537 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 84,987 downloads/mo, #13,962 on PyPI

Verify before relying

pip install ocrmac

from ocrmac import ocrmac
annotations = ocrmac.OCR('test.png').recognize()
print(annotations)  # Returns list of (text, confidence, bounding_box) tuples
  • Whether LiveText framework support requires macOS Sonoma or later specifically
  • Performance characteristics on Apple Silicon vs Intel Macs beyond the M3 Max benchmark
  • Accuracy comparison with the Vision framework's fast vs accurate recognition levels on real-world documents
Same gist for agents: .md · .json

What it is and what it does

ocrmac wraps Apple's native Vision framework to perform optical character recognition directly on macOS, eliminating the need for external OCR engines like Tesseract or EasyOCR. You pass an image file path or PIL image object and receive a list of recognized text snippets, each with a confidence score and bounding box coordinates. The package supports two backends—Vision (available on macOS 10.15+) and LiveText (macOS Sonoma+)—and lets you tune recognition speed versus accuracy or specify language preferences for post-processing.

The main dependencies are Click (for CLI), pillow (for image handling), and pyobjc-framework-Vision (the bridge to Apple's native framework). It's designed for developers on macOS who want fast, built-in OCR without downloading large model files or managing GPU acceleration, though it only works on macOS systems.

Use it for

  • Extract text from screenshots or documents on macOS without external OCR dependencies
  • Batch process images to build searchable text indexes with confidence filtering
  • Create annotated images showing recognized text regions via PIL or matplotlib output
  • Implement language-specific OCR workflows by setting language preferences like 'en-US' or 'zh-Hans'
  • Integrate native macOS OCR into Python workflows where speed and native integration matter more than cross-platform support

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are on macOS and need straightforward OCR without external dependencies.

The package is permissively licensed, has low install friction, and leverages native macOS capabilities. The aging maintenance status (218 days since release) is not a blocker—the last commit was recent and the repository is active—but verify that your macOS version meets the 10.15+ requirement and that LiveText features require Sonoma if you need them.

Install

ocrmac on PyPI

Before you install

Low install friction with a pure-Python wheel and minimal dependencies. The package is aging (218 days since last release) but the repository remains active with recent maintenance work on build configuration and test infrastructure.

Requires macOS 10.15 or later; pyobjc-framework-Vision is a compiled dependency that only installs on macOS.

License in practice

MIT license permits unrestricted use, modification, and distribution with minimal legal constraints.

Quickstart

pip install ocrmac

from ocrmac import ocrmac
annotations = ocrmac.OCR('test.png').recognize()
print(annotations)  # Returns list of (text, confidence, bounding_box) tuples

Verify before relying

  • Whether LiveText framework support requires macOS Sonoma or later specifically
  • Performance characteristics on Apple Silicon vs Intel Macs beyond the M3 Max benchmark
  • Accuracy comparison with the Vision framework's fast vs accurate recognition levels on real-world documents

Package facts

LicenseMIT license permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
3 packages
Clickpyobjc-framework-Visionpillow
MaintenanceAging 218 days since the last release
Last repo commit
First released
Downloads84,987 / month, #13,962 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.9

Evidence: ocrmac-1.0.1-py3-none-any.whl

Tags

Capabilities
mac ocr text extractionapple vision framework pythonimage text recognition macosocr with confidence scoresextract text from images macvision framework wrappermacos native ocr
Topics
macos-onlyvision-frameworkocr
PyPI keywords
ocrmac

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “mac ocr text extraction”

  • ocrmacExtracts text from images on macOS using Apple's Vision framework,…
  • python-doctrpython-doctr extracts and localizes text from documents and images…
  • rapidocrRapidOCR extracts text from images using ONNX-based models optimized…

Give your agent the search over MCP, or paste the wish link into any chat.

More Text Processing packages

regex Worth it
PyPI · Python Modules · released Jul 2026

A drop-in replacement for Python's standard `re` module that adds advanced regex features like nested sets, fuzzy matching, lookaround in conditionals, and full Unicode case-folding while maintaining backward compatibility.

Apache-2.0 AND CNRI-Pythoncompiled wheel · 3.10+
437.7Mdownloads / mo
pyparsing Worth it
PyPI · Text Processing · released Jan 2026

pyparsing provides a library for building text parsers directly in Python code using composable grammar classes, handling quoted strings, whitespace variation, and embedded comments without regex or lex/yacc.

Install it if you need to parse text or define grammars programmatically.

MITpure Python · 3.9+
412.7Mdownloads / mo
fonttools Worth it
PyPI · Text Processing · released May 2026

fonttools manipulates font files in multiple formats (TrueType, OpenType, AFM, Type 1, Mac-specific) and includes TTX, a tool to convert fonts to and from XML text format.

Install it if you need to read, write, or manipulate fonts programmatically or via the TTX command-line tool.

permissive licensepure Python · 3.10+
235.9Mdownloads / mo
docutils With conditions
PyPI · Software Development · released May 2026

Docutils converts plaintext documentation in reStructuredText format into multiple output formats including HTML, XML, and LaTeX using a modular processing system.

BSD-3-Clausepure Python · 3.9+
225.6Mdownloads / mo
RapidFuzz Worth it
PyPI · Text Processing · released Apr 2026

RapidFuzz provides fast fuzzy string matching using Levenshtein Distance and related metrics, implemented mostly in C++ with Python bindings for rapid similarity scoring and approximate string matching.

Install it if you need fuzzy string matching; it's a solid replacement for FuzzyWuzzy with better licensing and performance.

MITcompiled wheel · 3.10+
184.2Mdownloads / mo
tinycss2 Worth it
PyPI · Text Processing · released Nov 2025

tinycss2 parses CSS strings into token and block objects, and generates CSS strings from those objects, following the CSS Syntax Level 3 specification without enforcing specific properties or values.

Install it if your project requires CSS tokenization or syntax manipulation.

BSD-3-Clausepure Python · 3.10+
113.2Mdownloads / mo

See also unstructured.pytesseract · pytesseract · easyocr · pyobjc-framework-Vision · pyocr · tesserocr · keras-ocr · python-doctr · img2table · cnstd