Platforms to show: All Mac Windows Linux Cross-Platform
Back to VisionModuleMBS module.
VisionModuleMBS.available as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Vision | MBS MacFrameworks Plugin | 19.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns true on MacOS 10.13 or newer.
VisionModuleMBS.ElementSize(ElementType as Integer) as Integer
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Vision | MBS MacFrameworks Plugin | 19.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
Returns 4 for floats and 8 for double.
Otherwise returns zero.
VisionModuleMBS.ImagePointForNormalizedPoint(normalizedPoint as CGPointMBS, imageWidth as Integer, imageHeight as Integer) as CGPointMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Vision | MBS MacFrameworks Plugin | 19.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
normalizedPoint: The input point, in normalized coordinate space.
imageWidth: The width of the image into whose coordinate space you're projecting the input point.
imageHeight: The height of the image into whose coordinate space you're projecting the input point.
Returns the input point projected into image coordinates.
The resulting point in image coordinate space may have nonintegral (floating-point) coordinates.
VisionModuleMBS.ImageRectForNormalizedRect(normalizedRect as CGRectMBS, imageWidth as Integer, imageHeight as Integer) as CGRectMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Vision | MBS MacFrameworks Plugin | 19.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
normalizedRect: The input rect, in normalized coordinate space.
imageWidth: The width of the image into whose coordinate space you're projecting the input rect.
imageHeight: The height of the image into whose coordinate space you're projecting the input rect.
Returns the input rect projected into image (pixel) coordinates.
VisionModuleMBS.NormalizedIdentityRect as CGRectMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Vision | MBS MacFrameworks Plugin | 19.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
VisionModuleMBS.NormalizedRectForImageRect(imageRect as CGRectMBS, imageWidth as Integer, imageHeight as Integer) as CGRectMBS
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Vision | MBS MacFrameworks Plugin | 19.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
imageRect: The input rect, in image coordinate space.
imageWidth: The width of the image in whose coordinates the input rect resides.
imageHeight: The height of the image in whose coordinates the input rect resides.
Returns the input rect projected into normalized coordinates.
VisionModuleMBS.NormalizedRectIsIdentityRect(rect as CGRectMBS) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Vision | MBS MacFrameworks Plugin | 19.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
normalizedRect: Normalized input rect to test for identity.
Returns a Boolean value that indicates whether the input normalized rect is the identity rect.
VisionModuleMBS.VNErrorDomain as String
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Vision | MBS MacFrameworks Plugin | 19.4 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The items on this page are in the following plugins: MBS MacFrameworks Plugin.