pyobjc icon indicating copy to clipboard operation
pyobjc copied to clipboard

Add VisionKit bindings

Open AuroraWright opened this issue 5 months ago • 5 comments

Is your feature request related to a problem? Please describe. The VisionKit APIs seem to be more actively supported, as an example starting in Sonoma the text recognition now supports vertical text for CJK languages (Japanese, Chinese, Korean) which is not yet supported in Vision.

Describe the solution you'd like VisionKit bindings to be available for use on 13.0+

Describe alternatives you've considered There's no real alternative right now other than using the less updated Vision api or invoking external command line tools.

Additional context The docs state that VisionKit "is only available in Catalyst" but that doesn't seem to be the case (anymore?) from Ventura onwards. There are apps using the new APIs on macOS (eg https://github.com/Shakshi3104/LiTeX, TextSniper also seems to use it according to a friend's reverse engineering). Apple's API docs claim it's available on macOS as well https://developer.apple.com/documentation/visionkit/imageanalyzer

AuroraWright avatar Feb 10 '24 00:02 AuroraWright