8000 GitHub - ughe/macocr: macOS OCR CLI for https://developer.apple.com/documentation/vision/vnrecognizetextrequest · GitHub
[go: up one dir, main page]

Skip to content
ughePublic

Latest commit

 

History

8 Commits

Folders and files

Repository files navigation

macocr

OCR command line utility for macOS 10.15+. Utilizes the VNRecognizeTextRequest API.

Build and Run

swift build
swift run

If -c release is not used, then the executable may be located at: ./.build/debug/macocr

Python Build and Run

pip install git+https://github.com/ughe/macocr.git
# or locally: cd macocr && pip install -e .

usage:

from macocr_py import macocr
result_json = macocr("./input.png")

Releases

Packages

Contributors

Languages

0