VNCoreMLRequestMBS class

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

VNCoreMLRequestMBS class

Super class: VNImageBasedRequestMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
class Vision MBS MacFrameworks Plugin 19.4 ✅ Yes ❌ No ❌ No ✅ Yes All
An image analysis request that uses a Core ML model to process images.

The results array of a Core ML-based image analysis request contains a different observation type depending on the kind of MLModel object you create the request with:

Subclass of the VNImageBasedRequestMBS class.

Crop and Scale options

Constant Value Description
VNImageCropAndScaleOptionCenterCrop 0 A scaling option that maintains aspect ratio to fit the short side, and crops the centered image on its long side.
VNImageCropAndScaleOptionScaleFill 2 A scaling option that scales an image proportionally so that its shorter dimension fills the canvas, potentially cropping along the longer dimension.
VNImageCropAndScaleOptionScaleFit 1 An option that scales an image to fit the input image dimensions while maintaining aspect ratio. more

Super class VNImageBasedRequestMBS

Super class VNRequestMBS

This class has no sub classes.

Blog Entries


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


VNCoreMLModelMBS   -   VNDetectBarcodesRequestMBS


💬 Ask a question or report a problem