The module VisionModuleMBS

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

The module VisionModuleMBS

module VisionModuleMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
module Vision MBS MacFrameworks Plugin 19.4 ✅ Yes ❌ No ❌ No ✅ Yes All
The Vision module.

Global declarations for the Vision framework on MacOS.
Requires MacOS 10.13 or newer.

Error Codes

Constant Value Description
VNErrorDataUnavailable 17 Error code signifying unavailable data.
VNErrorInternalError 9 Error code signifying an error internal to the Vision system.
VNErrorInvalidArgument 14 Error code signifying an invalid parameter passed to a Vision request.
VNErrorInvalidFormat 2 Error code signifying an invalid image format.
VNErrorInvalidImage 13 Error code signifying a problematic image.
VNErrorInvalidModel 15 Error code signifying an invalid model.
VNErrorInvalidOperation 12 Error code signifying an unsupported operation for a Vision request.
VNErrorInvalidOption 5 Error code signifying an invalid option in a Vision request.
VNErrorIOError 6 Error code signifying an input or output error for an image, image sequence, or Core ML model.
VNErrorMissingOption 7 Error code signifying that a Vision request is missing a required option.
VNErrorNotImplemented 8 Error code signifying a method not implemented in the underlying model.
VNErrorOK 0 Error code signifying no error.
VNErrorOperationFailed 3 Error code signifying that a request operation failed.
VNErrorOutOfBoundsError 4 Error code signifying an out-of-bounds access.
VNErrorOutOfMemory 10 Error code signifying insufficient memory to complete a Vision request.
VNErrorRequestCancelled 1 Error code signifying a canceled Vision request.
VNErrorUnknownError 11 Error code signifying an unidentifiable error.
VNErrorUnsupportedRevision 16 Error code signifying an unsupported revision number.

Some examples which use this module:

Blog Entries


The items on this page are in the following plugins: MBS MacFrameworks Plugin.


💬 Ask a question or report a problem