Vision Framework for Xojo

For the next MBS Xojo Plugins, we worked on including the Vision framework from Apple. Our new vision plugin part (in MacFrameworks) covers the whole framework with all 49 classes and one module for globals. We even include the new stuff coming with MacOS 10.15 Catalina release. All functions can be used asynchronously with delegates for the callbacks. The plugin makes sure those callbacks execute on main thread to avoid threading issues in Xojo.

The Vision framework performs face and face landmark detection, text detection, barcode recognition, image registration, and general feature tracking. Vision also allows the use of custom Core ML models for tasks like classification or object detection.

With Catalina you also get classification, text recognition, attention and object based saliency, animal and human detection.

You can read Apple’s documentation here.

Here our new classes:

A few examples are in the make, but please let us know what you’d like to see.

new plugin is available to download: