Crate objc2_vision

Source
Expand description

§Bindings to the Vision framework

See Apple’s docs and the general docs on framework crates for more information.

Structs§

VNAnimalBodyPoseObservationVNObservation
Apple’s documentation
VNBarcodeObservationVNObservation
VNBarcodeObservation Describes an area containing a barcode detected by the VNRequestNameDetectBarcodes request.
VNCalculateImageAestheticsScoresRequestVNCalculateImageAestheticsScoresRequest and VNRequest
Analyzes an image for aesthetically pleasing attributes and returns a VNImageAestheticsScoresObservation. This observation calculates an overall aeshetically pleasing score for the image and checks for utility images.
VNCircleVNGeometry
VNCircle is two-dimensional circle represented by the center point ‘center’ and its radius ‘radius’. Once created, VNCircle objects are immutable.
VNClassificationObservationVNObservation
VNClassificationObservation returns the classifcation in form of a string.
VNClassifyImageRequestVNClassifyImageRequest and VNRequest
A request for classifying an image.
VNContourVNGeometry
The VNContour class describes a contour provided by a VNContoursObservation.
VNContoursObservationVNObservation
Apple’s documentation
VNCoreMLFeatureValueObservationVNObservation
VNCoreMLFeatureValueObservation returns the prediction of a model as an MLFeatureValue.
VNCoreMLModelVNCoreMLRequest
The VNCoreMLModel uses an CoreML based model and prepares it for use with VNCoreMLRequests.
VNCoreMLRequestVNCoreMLRequest and VNRequest
The VNCoreMLRequest uses a VNCoreMLModel, that is based on a CoreML MLModel object, to run predictions with that model. Depending on the model the returned observation is either a VNClassificationObservation for classifier models, VNPixelBufferObservations for image-to-image models, VNRecognizedObjectObservation for object recognition models or VNCoreMLFeatureValueObservation for everything else. All -[VNObservation confidence] values are forwarded from relevant models as is, and do not conform to a common [0, 1] range rule
VNDetectAnimalBodyPoseRequestVNDetectAnimalBodyPoseRequest and VNRequest
Detects specific landmark points on animal bodies.
VNDetectBarcodesRequestVNDetectBarcodesRequest and VNRequest
A request that detects barcodes in an image.
VNDetectContoursRequestVNDetectContoursRequest and VNRequest
A request that will detect the contours for the edges in an image.
VNDetectDocumentSegmentationRequestVNDetectDocumentSegmentationRequest and VNRequest
Performs document detection and segmentation in an image.
VNDetectFaceCaptureQualityRequestVNDetectFaceCaptureQualityRequest and VNRequest
A request that will produce or update a VNFaceObservation’s property faceCaptureQuality with a float value. faceCaptureQuality is a float (wrapped by a NSNumber) that represents the capture quality of a given face in a photo. The float will be a value between 0 and 1, with 1 being the highest face capture quality and 0 being the lowest. If the request fails or the face observation has never been processed, the property faceCaptureQuality will be nil.
VNDetectFaceLandmarksRequestVNDetectFaceLandmarksRequest and VNRequest
A request that will produce face landmark information.
VNDetectFaceRectanglesRequestVNDetectFaceRectanglesRequest and VNRequest
A request that will detect faces in an image.
VNDetectHorizonRequestVNDetectHorizonRequest and VNRequest
Determine what the horizon tilt of an image is.
VNDetectHumanBodyPose3DRequestVNDetectHumanBodyPose3DRequest and VNRequest and VNStatefulRequest
A request that detects specific landmark points on human bodies in 3D space relative to the camera. When possible,AVDepthData depth information is used to produce more accurate results, but the request does not require it to run.
VNDetectHumanBodyPoseRequestVNDetectHumanBodyPoseRequest and VNRequest
Detects specific landmark points on human bodies.
VNDetectHumanHandPoseRequestVNDetectHumanHandPoseRequest and VNRequest
Detects specific landmark points on human hands.
VNDetectHumanRectanglesRequestVNDetectHumanRectanglesRequest and VNRequest
A request that will detect human Torsos in an image.
VNDetectRectanglesRequestVNDetectRectanglesRequest and VNRequest
A request that will detect rectangles in an image.
VNDetectTextRectanglesRequestVNDetectTextRectanglesRequest and VNRequest
A request that will detect regions of text in an image.
VNDetectTrajectoriesRequestVNDetectTrajectoriesRequest and VNRequest and VNStatefulRequest
A request that detects trajectories of shapes (even small ones) that follow a parabolic path in a sequence of images.
VNDetectedObjectObservationVNObservation
VNDetectedObjectObservation is VNObservation in an image that has a location and/or dimension. Further attributes depend on the specific detected object.
VNDetectedPointVNDetectedPoint and VNGeometry
VNDetectedPoint is a VNPoint with a confidence value.
VNElementTypeVNTypes
Apple’s documentation
VNErrorCodeVNError
Apple’s documentation
VNFaceLandmarkRegionVNFaceLandmarks
VNFaceLandmarkRegion is an immutable object acting as a collection of landmark points for defining a specific region of the face (including potentially all of the landmark points for a face). The VNFaceLandmarkRegion is an abstract base class.
VNFaceLandmarkRegion2DVNFaceLandmarks
VNFaceLandmarkRegion2D gives access to the 2D landmark points for the region. The points are stored as vector_float2 and must not be modified.
VNFaceLandmarksVNFaceLandmarks
VNFaceLandmarks2D is the result of a face landmarks request. It is an abstract base class.
VNFaceLandmarks2DVNFaceLandmarks
VNFaceLandmarks2D is the result of a face landmarks 2D request, containing detected facial landmark points organized into VNFaceLandmarkRegion2D regions. The points are accessible as a full list, or as sub-gruops representing pre-defined facial regions.
VNFaceObservationVNObservation
VNFaceObservation is the result of a face detection request or derivatives like a face landmark request.
VNFeaturePrintObservationVNObservation
Apple’s documentation
VNGenerateAttentionBasedSaliencyImageRequestVNGenerateAttentionBasedSaliencyImageRequest and VNRequest
Generates an image that identifies which part(s) of a given image is most interesting (i.e. something that a human is likely to look at - hence attention based). The resulting observation, VNSaliencyImageObservation, encodes this data as a heat map which can be used to highlight regions of interest.
VNGenerateForegroundInstanceMaskRequestVNGenerateForegroundInstanceMaskRequest and VNRequest
A request that generates an instance mask of salient objects that can be separated from the background.
VNGenerateImageFeaturePrintRequestVNGenerateImageFeaturePrintRequest and VNRequest
A request for generating a feature print of an image.
VNGenerateObjectnessBasedSaliencyImageRequestVNGenerateObjectnessBasedSaliencyImageRequest and VNRequest
Generates an image that identifies which part(s) of a given image are most likely to be objects (i.e. something that a human is likely to see as an object). The resulting observation, VNSaliencyImageObservation, encodes this data as a heat map which can be used highlight regions of interest.
VNGenerateOpticalFlowRequestVNGenerateOpticalFlowRequest and VNRequest and VNTargetedImageRequest
VNGenerateOpticalFlowRequest will determine directional change vectors for each pixel in the targeted image to transform it into the image processed by the request handler, reporting this result with a single VNPixelBufferObservation.
VNGenerateOpticalFlowRequestComputationAccuracyVNGenerateOpticalFlowRequest
The level of optical flow computational accuracy.
VNGeneratePersonInstanceMaskRequestVNGeneratePersonInstanceMaskRequest and VNRequest
A request that generates an instance mask of individual people found in the image.
VNGeneratePersonSegmentationRequestVNGeneratePersonSegmentationRequest and VNRequest and VNStatefulRequest
Performs person segmentation on an image generating a mask.
VNGeneratePersonSegmentationRequestQualityLevelVNGeneratePersonSegmentationRequest
Person segmentation level options to favor speed over recognition accuracy. VNGeneratePersonSegmentationRequestQualityLevelAccurate is the default option.
VNGeometryUtilsVNGeometryUtils
Apple’s documentation
VNHomographicImageRegistrationRequestVNImageRegistrationRequest and VNRequest and VNTargetedImageRequest
An image registration request that will calculate a homographic transformation for morphing a “floating” image onto an unchanging “reference” image.
VNHorizonObservationVNObservation
VNHorizonObservation is the result of a VNDetectHorizonRequest
VNHumanBodyPose3DObservationVNObservation
Apple’s documentation
VNHumanBodyPose3DObservationHeightEstimationVNObservation
Height estimation technique used in observation based on available metadata VNHumanBodyPose3DObservationHeightEstimationReference is the default if no LiDAR depth is present
VNHumanBodyPoseObservationVNDetectHumanBodyPoseRequest and VNObservation
Apple’s documentation
VNHumanBodyRecognizedPoint3DVNGeometry and VNHumanBodyRecognizedPoint3D and VNRecognizedPoint3D
Apple’s documentation
VNHumanHandPoseObservationVNDetectHumanHandPoseRequest and VNObservation
Apple’s documentation
VNHumanObservationVNObservation
VNHumanObservation is the result of a Human rectangles detection request
VNImageAestheticsScoresObservationVNObservation
VNImageAestheticsScoresObservation provides an overall score of aesthetic attributes for an image.
VNImageAlignmentObservationVNObservation
VNImageAlignmentObservation is generated from an image registration. This is an abstract base class. The type of registration request used defines which subclass describes the result.
VNImageBasedRequestVNRequest
A request that will process the contents of a reference image.
VNImageCropAndScaleOptionVNTypes
Apple’s documentation
VNImageHomographicAlignmentObservationVNObservation
An observation describing the results of performing a homographic image alignment.
VNImageRegistrationRequestVNImageRegistrationRequest and VNRequest and VNTargetedImageRequest
A request that will calculate a transformation for morphing a “floating” image onto an unchanging “reference” image.
VNImageRequestHandlerVNRequestHandler
Performs requests on a single image.
VNImageTranslationAlignmentObservationVNObservation
An observation describing the results of performing a translational image alignment.
VNInstanceMaskObservationVNObservation
An observation resulting from an instance mask generation request. It contains an instance mask that labels instances in the mask that labels per pixel an instance.
VNObservationVNObservation
VNObservation describes the results of performing a VNRequest. The result has a confidence score. The different types of requests will create different subclasses of VNObservation to return their results in properties of those subclasses.
VNPixelBufferObservationVNObservation
VNPixelBufferObservation returns the prediction of a model as a CVPixelBufferRef.
VNPointVNGeometry
VNPoint represents a single, immutable, two-dimensional point in an image.
VNPoint3DVNGeometry
VNPoint3D represents a single, immutable, three-dimensional point in an image.
VNRecognizeAnimalsRequestVNRecognizeAnimalsRequest and VNRequest
A request that will recognize various animals in an image. The list of animals supported by the recognition algorithm can be queried by -supportedIdentifiersAndReturnError:
VNRecognizeTextRequestVNRecognizeTextRequest and VNRequest
A request that will detect regions of text and recognize the containing text in an image.
VNRecognizedObjectObservationVNObservation
VNRecognizedObjectObservation is a VNDetectedObjectObservation with an array of classifications that classify the recognized object. The confidence of the classifications sum up to 1.0. It is common practice to multiply the classification confidence with the confidence of this observation.
VNRecognizedPointVNDetectedPoint and VNGeometry
An extension of VNDetectedPoint that associates an identifier to the point.
VNRecognizedPoint3DVNGeometry and VNRecognizedPoint3D
An extension of VNPoint3D that associates an identifier to the point.
VNRecognizedPoints3DObservationVNObservation
Observation
VNRecognizedPointsObservationVNObservation
VNRecognizedPointsObservation is a request result detailing points in an image.
VNRecognizedTextVNObservation
VNRecognizedText A block of recognized text. There can be multiple VNRecognizedText objects returned in a VNRecognizedTextObservation - one for each candidate.
VNRecognizedTextObservationVNObservation
VNRecognizedTextObservation Describes a text area detected and recognized by the VNRecognizeTextRequest request.
VNRectangleObservationVNObservation
VNRectangleObservation is the result of a rectangle detector
VNRequestVNRequest
VNRequest objects describe the operation to be performed as well as act as the recipient of the operation’s resultant observations.
VNRequestFaceLandmarksConstellationVNDetectFaceLandmarksRequest
Constellation type defines how many landmark points are used to map a face. Revisions 1, 2, and 3 support 65 points, where Rev3 also supports 76 points.
VNRequestTextRecognitionLevelVNRecognizeTextRequest
Text recognition level options to favor speed over recognition accuracy. The VNRequestTextRecognitionLevelAccurate is the default option used by VNRecognizeTextRequest.
VNRequestTrackingLevelVNTrackingRequest
Tracking level options to favor speed or location accuracy. The VNRequestTrackingLevelFast is the default option used by trackers.
VNSaliencyImageObservationVNObservation
VNSaliencyImageObservation provides a grayscale “heat” map of important areas of an image.
VNSequenceRequestHandlerVNRequestHandler
Performs requests on a sequence of images.
VNStatefulRequestVNRequest and VNStatefulRequest
A request that builds evidence over time by being reused on multiple images.
VNTargetedImageRequestVNRequest and VNTargetedImageRequest
A request that requires an initial image as a starting point for its work.
VNTextObservationVNObservation
VNTextObservation Describes a text area detected by the VNRequestNameDetectTextRectangles request.
VNTrackHomographicImageRegistrationRequestVNRequest and VNStatefulRequest and VNTrackHomographicImageRegistrationRequest
An image registration request that will produce a homographic transformation that can morph one image to another.
VNTrackObjectRequestVNRequest and VNTrackObjectRequest and VNTrackingRequest
VNTrackObjectRequest tracks an object in a sequence of images.
VNTrackOpticalFlowRequestVNRequest and VNStatefulRequest and VNTrackOpticalFlowRequest
VNTrackOpticalFlowRequest will determine directional change vectors for each pixel from a previous to current image, reporting this result with a single VNPixelBufferObservation.
VNTrackOpticalFlowRequestComputationAccuracyVNTrackOpticalFlowRequest
The level of optical flow computational accuracy.
VNTrackRectangleRequestVNRequest and VNTrackRectangleRequest and VNTrackingRequest
VNTrackRectangleRequest tracks a rectangle in a sequence of images.
VNTrackTranslationalImageRegistrationRequestVNRequest and VNStatefulRequest and VNTrackTranslationalImageRegistrationRequest
An image registration request that will produce a translational transformation which will morph one image to another.
VNTrackingRequestVNRequest and VNTrackingRequest
A base class for all tracking requests.
VNTrajectoryObservationVNObservation
The VNTrajectoryObservation describes a detected trajectory with the points on the trajectory and the equation describing the trajectory. The observation also reprorts the duration describing when the trajectory was first detected (which will be in the past).
VNTranslationalImageRegistrationRequestVNImageRegistrationRequest and VNRequest and VNTargetedImageRequest
An image registration request that will calculate a translational transformation for morphing a “floating” image onto an unchanging “reference” image.
VNVectorVNGeometry
VNVector is a two-dimensional vector represented its X and Y axis projections. Once created, VNVector objects are immutable.
VNVideoProcessorVNVideoProcessor
A controller object that is used to perform one or more requests on a video stream.
VNVideoProcessorCadenceVNVideoProcessor
An object that defines the cadence at which the video stream is processed.
VNVideoProcessorFrameRateCadenceVNVideoProcessor
An object that defines a frame-based cadence for processing the video stream.
VNVideoProcessorRequestProcessingOptionsVNVideoProcessor
Options applied to a request’s processing of the video.
VNVideoProcessorTimeIntervalCadenceVNVideoProcessor
An object that defines a time-based cadence for processing the video stream.

Enums§

VNBarcodeCompositeTypeVNTypes
Apple’s documentation
VNChiralityVNTypes
Apple’s documentation
VNPointsClassificationVNTypes
Apple’s documentation

Statics§

VNAnimalBodyPoseObservationJointNameLeftBackElbowVNTypes
Apple’s documentation
VNAnimalBodyPoseObservationJointNameLeftBackKneeVNTypes
Apple’s documentation
VNAnimalBodyPoseObservationJointNameLeftBackPawVNTypes
Apple’s documentation
VNAnimalBodyPoseObservationJointNameLeftEarBottomVNTypes
Apple’s documentation
VNAnimalBodyPoseObservationJointNameLeftEarMiddleVNTypes
Apple’s documentation
VNAnimalBodyPoseObservationJointNameLeftEarTopVNTypes
Apple’s documentation
VNAnimalBodyPoseObservationJointNameLeftEyeVNTypes
Apple’s documentation
VNAnimalBodyPoseObservationJointNameLeftFrontElbowVNTypes
Apple’s documentation
VNAnimalBodyPoseObservationJointNameLeftFrontKneeVNTypes
Apple’s documentation
VNAnimalBodyPoseObservationJointNameLeftFrontPawVNTypes
Apple’s documentation
VNAnimalBodyPoseObservationJointNameNeckVNTypes
Apple’s documentation
VNAnimalBodyPoseObservationJointNameNoseVNTypes
Apple’s documentation
VNAnimalBodyPoseObservationJointNameRightBackElbowVNTypes
Apple’s documentation
VNAnimalBodyPoseObservationJointNameRightBackKneeVNTypes
Apple’s documentation
VNAnimalBodyPoseObservationJointNameRightBackPawVNTypes
Apple’s documentation
VNAnimalBodyPoseObservationJointNameRightEarBottomVNTypes
Apple’s documentation
VNAnimalBodyPoseObservationJointNameRightEarMiddleVNTypes
Apple’s documentation
VNAnimalBodyPoseObservationJointNameRightEarTopVNTypes
Apple’s documentation
VNAnimalBodyPoseObservationJointNameRightEyeVNTypes
Apple’s documentation
VNAnimalBodyPoseObservationJointNameRightFrontElbowVNTypes
Apple’s documentation
VNAnimalBodyPoseObservationJointNameRightFrontKneeVNTypes
Apple’s documentation
VNAnimalBodyPoseObservationJointNameRightFrontPawVNTypes
Apple’s documentation
VNAnimalBodyPoseObservationJointNameTailBottomVNTypes
Apple’s documentation
VNAnimalBodyPoseObservationJointNameTailMiddleVNTypes
Apple’s documentation
VNAnimalBodyPoseObservationJointNameTailTopVNTypes
Apple’s documentation
VNAnimalBodyPoseObservationJointsGroupNameAllVNTypes
Apple’s documentation
VNAnimalBodyPoseObservationJointsGroupNameForelegsVNTypes
Apple’s documentation
VNAnimalBodyPoseObservationJointsGroupNameHeadVNTypes
Apple’s documentation
VNAnimalBodyPoseObservationJointsGroupNameHindlegsVNTypes
Apple’s documentation
VNAnimalBodyPoseObservationJointsGroupNameTailVNTypes
Apple’s documentation
VNAnimalBodyPoseObservationJointsGroupNameTrunkVNTypes
Apple’s documentation
VNAnimalIdentifierCatVNRecognizeAnimalsRequest
Apple’s documentation
VNAnimalIdentifierDogVNRecognizeAnimalsRequest
Apple’s documentation
VNBarcodeSymbologyAztecVNTypes
Apple’s documentation
VNBarcodeSymbologyCodabarVNTypes
Apple’s documentation
VNBarcodeSymbologyCode39VNTypes
Apple’s documentation
VNBarcodeSymbologyCode93VNTypes
Apple’s documentation
VNBarcodeSymbologyCode39ChecksumVNTypes
Apple’s documentation
VNBarcodeSymbologyCode39FullASCIIVNTypes
Apple’s documentation
VNBarcodeSymbologyCode39FullASCIIChecksumVNTypes
Apple’s documentation
VNBarcodeSymbologyCode93iVNTypes
Apple’s documentation
VNBarcodeSymbologyCode128VNTypes
Apple’s documentation
VNBarcodeSymbologyDataMatrixVNTypes
Apple’s documentation
VNBarcodeSymbologyEAN8VNTypes
Apple’s documentation
VNBarcodeSymbologyEAN13VNTypes
Apple’s documentation
VNBarcodeSymbologyGS1DataBarVNTypes
Apple’s documentation
VNBarcodeSymbologyGS1DataBarExpandedVNTypes
Apple’s documentation
VNBarcodeSymbologyGS1DataBarLimitedVNTypes
Apple’s documentation
VNBarcodeSymbologyI2of5VNTypes
Apple’s documentation
VNBarcodeSymbologyI2of5ChecksumVNTypes
Apple’s documentation
VNBarcodeSymbologyITF14VNTypes
Apple’s documentation
VNBarcodeSymbologyMSIPlesseyVNTypes
Apple’s documentation
VNBarcodeSymbologyMicroPDF417VNTypes
Apple’s documentation
VNBarcodeSymbologyMicroQRVNTypes
Apple’s documentation
VNBarcodeSymbologyPDF417VNTypes
Apple’s documentation
VNBarcodeSymbologyQRVNTypes
Apple’s documentation
VNBarcodeSymbologyUPCEVNTypes
Apple’s documentation
VNBodyLandmarkKeyLeftAnkleVNDetectHumanBodyPoseRequest and VNTypes
Apple’s documentation
VNBodyLandmarkKeyLeftEarVNDetectHumanBodyPoseRequest and VNTypes
Apple’s documentation
VNBodyLandmarkKeyLeftElbowVNDetectHumanBodyPoseRequest and VNTypes
Apple’s documentation
VNBodyLandmarkKeyLeftEyeVNDetectHumanBodyPoseRequest and VNTypes
Apple’s documentation
VNBodyLandmarkKeyLeftHipVNDetectHumanBodyPoseRequest and VNTypes
Apple’s documentation
VNBodyLandmarkKeyLeftKneeVNDetectHumanBodyPoseRequest and VNTypes
Apple’s documentation
VNBodyLandmarkKeyLeftShoulderVNDetectHumanBodyPoseRequest and VNTypes
Apple’s documentation
VNBodyLandmarkKeyLeftWristVNDetectHumanBodyPoseRequest and VNTypes
Apple’s documentation
VNBodyLandmarkKeyNeckVNDetectHumanBodyPoseRequest and VNTypes
Apple’s documentation
VNBodyLandmarkKeyNoseVNDetectHumanBodyPoseRequest and VNTypes
Apple’s documentation
VNBodyLandmarkKeyRightAnkleVNDetectHumanBodyPoseRequest and VNTypes
Apple’s documentation
VNBodyLandmarkKeyRightEarVNDetectHumanBodyPoseRequest and VNTypes
Apple’s documentation
VNBodyLandmarkKeyRightElbowVNDetectHumanBodyPoseRequest and VNTypes
Apple’s documentation
VNBodyLandmarkKeyRightEyeVNDetectHumanBodyPoseRequest and VNTypes
Apple’s documentation
VNBodyLandmarkKeyRightHipVNDetectHumanBodyPoseRequest and VNTypes
Apple’s documentation
VNBodyLandmarkKeyRightKneeVNDetectHumanBodyPoseRequest and VNTypes
Apple’s documentation
VNBodyLandmarkKeyRightShoulderVNDetectHumanBodyPoseRequest and VNTypes
Apple’s documentation
VNBodyLandmarkKeyRightWristVNDetectHumanBodyPoseRequest and VNTypes
Apple’s documentation
VNBodyLandmarkKeyRootVNDetectHumanBodyPoseRequest and VNTypes
Apple’s documentation
VNBodyLandmarkRegionKeyFaceVNDetectHumanBodyPoseRequest and VNTypes
Apple’s documentation
VNBodyLandmarkRegionKeyLeftArmVNDetectHumanBodyPoseRequest and VNTypes
Apple’s documentation
VNBodyLandmarkRegionKeyLeftLegVNDetectHumanBodyPoseRequest and VNTypes
Apple’s documentation
VNBodyLandmarkRegionKeyRightArmVNDetectHumanBodyPoseRequest and VNTypes
Apple’s documentation
VNBodyLandmarkRegionKeyRightLegVNDetectHumanBodyPoseRequest and VNTypes
Apple’s documentation
VNBodyLandmarkRegionKeyTorsoVNDetectHumanBodyPoseRequest and VNTypes
Apple’s documentation
VNCalculateImageAestheticsScoresRequestRevision1VNCalculateImageAestheticsScoresRequest
Apple’s documentation
VNClassifyImageRequestRevision1VNClassifyImageRequest
Classification with a taxonomy of 1,303 possible identifiers.
VNClassifyImageRequestRevision2VNClassifyImageRequest
The same taxonomy as VNClassifyImageRequestRevision1 but with improved accuracy, reduced latency and memory utilization.
VNComputeStageMainVNTypes
The stage of a request where the main functionality is being performed.
VNComputeStagePostProcessingVNTypes
A compute stage for additional analysis and/or conversion of the data produced by the VNComputeStageMain.
VNCoreMLRequestRevision1VNCoreMLRequest
Apple’s documentation
VNDetectAnimalBodyPoseRequestRevision1VNDetectAnimalBodyPoseRequest
Apple’s documentation
VNDetectBarcodesRequestRevision1VNDetectBarcodesRequest
Apple’s documentation
VNDetectBarcodesRequestRevision2VNDetectBarcodesRequest
Apple’s documentation
VNDetectBarcodesRequestRevision3VNDetectBarcodesRequest
Apple’s documentation
VNDetectBarcodesRequestRevision4VNDetectBarcodesRequest
Apple’s documentation
VNDetectContourRequestRevision1VNDetectContoursRequest
Apple’s documentation
VNDetectDocumentSegmentationRequestRevision1VNDetectDocumentSegmentationRequest
Apple’s documentation
VNDetectFaceCaptureQualityRequestRevision1VNDetectFaceCaptureQualityRequest
Apple’s documentation
VNDetectFaceCaptureQualityRequestRevision2VNDetectFaceCaptureQualityRequest
Apple’s documentation
VNDetectFaceCaptureQualityRequestRevision3VNDetectFaceCaptureQualityRequest
The revision shows better correlation with human judgement on a larger and more diverse dataset. It is also more stable with respect to minor image variations.
VNDetectFaceLandmarksRequestRevision1VNDetectFaceLandmarksRequest
Apple’s documentation
VNDetectFaceLandmarksRequestRevision2VNDetectFaceLandmarksRequest
Apple’s documentation
VNDetectFaceLandmarksRequestRevision3VNDetectFaceLandmarksRequest
Apple’s documentation
VNDetectFaceRectanglesRequestRevision1VNDetectFaceRectanglesRequest
Apple’s documentation
VNDetectFaceRectanglesRequestRevision2VNDetectFaceRectanglesRequest
This request revision can calculate face roll and yaw properties. See [VNFaceObservation -roll] and [VNFaceObservation -yaw] respectively.
VNDetectFaceRectanglesRequestRevision3VNDetectFaceRectanglesRequest
This request revision can calculate face pitch, in addition to roll and yaw, see [VNFaceObservation -pitch] property. In addition, all three properties - roll, yaw, and pitch are now reported in contiguous manner.
VNDetectHorizonRequestRevision1VNDetectHorizonRequest
Apple’s documentation
VNDetectHumanBodyPose3DRequestRevision1VNDetectHumanBodyPose3DRequest
Apple’s documentation
VNDetectHumanBodyPoseRequestRevision1VNDetectHumanBodyPoseRequest
Apple’s documentation
VNDetectHumanHandPoseRequestRevision1VNDetectHumanHandPoseRequest
Apple’s documentation
VNDetectHumanRectanglesRequestRevision1VNDetectHumanRectanglesRequest
This request revsion can detect human upper body only
VNDetectHumanRectanglesRequestRevision2VNDetectHumanRectanglesRequest
This request revsion can detect human full body in addition to upper body only in the previous revision. The choice is controlled by [VNDetectHumanRectanglesRequest -upperBodyOnly] property, which is by default set to YES
VNDetectRectanglesRequestRevision1VNDetectRectanglesRequest
Apple’s documentation
VNDetectTextRectanglesRequestRevision1VNDetectTextRectanglesRequest
Apple’s documentation
VNDetectTrajectoriesRequestRevision1VNDetectTrajectoriesRequest
Apple’s documentation
VNErrorDomainVNError
Apple’s documentation
VNGenerateAttentionBasedSaliencyImageRequestRevision1VNGenerateAttentionBasedSaliencyImageRequest
Apple’s documentation
VNGenerateAttentionBasedSaliencyImageRequestRevision2VNGenerateAttentionBasedSaliencyImageRequest
Improved accuracy, reduced latency and memory utilization.
VNGenerateForegroundInstanceMaskRequestRevision1VNGenerateForegroundInstanceMaskRequest
Apple’s documentation
VNGenerateImageFeaturePrintRequestRevision1VNGenerateImageFeaturePrintRequest
The feature print produced by the VNClassifyImageRequestRevision1 classifier.
VNGenerateImageFeaturePrintRequestRevision2VNGenerateImageFeaturePrintRequest
The feature print produced by the VNClassifyImageRequestRevision2 classifier.
VNGenerateObjectnessBasedSaliencyImageRequestRevision1VNGenerateObjectnessBasedSaliencyImageRequest
Apple’s documentation
VNGenerateObjectnessBasedSaliencyImageRequestRevision2VNGenerateObjectnessBasedSaliencyImageRequest
Improved accuracy, reduced latency and memory utilization.
VNGenerateOpticalFlowRequestRevision1VNGenerateOpticalFlowRequest
Apple’s documentation
VNGenerateOpticalFlowRequestRevision2VNGenerateOpticalFlowRequest
Apple’s documentation
VNGeneratePersonInstanceMaskRequestRevision1VNGeneratePersonInstanceMaskRequest
Apple’s documentation
VNGeneratePersonSegmentationRequestRevision1VNGeneratePersonSegmentationRequest
Apple’s documentation
VNHomographicImageRegistrationRequestRevision1VNImageRegistrationRequest
Apple’s documentation
VNHumanBodyPose3DObservationJointNameCenterHeadVNTypes
Apple’s documentation
VNHumanBodyPose3DObservationJointNameCenterShoulderVNTypes
Apple’s documentation
VNHumanBodyPose3DObservationJointNameLeftAnkleVNTypes
Apple’s documentation
VNHumanBodyPose3DObservationJointNameLeftElbowVNTypes
Apple’s documentation
VNHumanBodyPose3DObservationJointNameLeftHipVNTypes
Apple’s documentation
VNHumanBodyPose3DObservationJointNameLeftKneeVNTypes
Apple’s documentation
VNHumanBodyPose3DObservationJointNameLeftShoulderVNTypes
Apple’s documentation
VNHumanBodyPose3DObservationJointNameLeftWristVNTypes
Apple’s documentation
VNHumanBodyPose3DObservationJointNameRightAnkleVNTypes
Apple’s documentation
VNHumanBodyPose3DObservationJointNameRightElbowVNTypes
Apple’s documentation
VNHumanBodyPose3DObservationJointNameRightHipVNTypes
Apple’s documentation
VNHumanBodyPose3DObservationJointNameRightKneeVNTypes
Apple’s documentation
VNHumanBodyPose3DObservationJointNameRightShoulderVNTypes
Apple’s documentation
VNHumanBodyPose3DObservationJointNameRightWristVNTypes
Apple’s documentation
VNHumanBodyPose3DObservationJointNameRootVNTypes
Apple’s documentation
VNHumanBodyPose3DObservationJointNameSpineVNTypes
Apple’s documentation
VNHumanBodyPose3DObservationJointNameTopHeadVNTypes
Apple’s documentation
VNHumanBodyPose3DObservationJointsGroupNameAllVNTypes
Apple’s documentation
VNHumanBodyPose3DObservationJointsGroupNameHeadVNTypes
Apple’s documentation
VNHumanBodyPose3DObservationJointsGroupNameLeftArmVNTypes
Apple’s documentation
VNHumanBodyPose3DObservationJointsGroupNameLeftLegVNTypes
Apple’s documentation
VNHumanBodyPose3DObservationJointsGroupNameRightArmVNTypes
Apple’s documentation
VNHumanBodyPose3DObservationJointsGroupNameRightLegVNTypes
Apple’s documentation
VNHumanBodyPose3DObservationJointsGroupNameTorsoVNTypes
Apple’s documentation
VNHumanBodyPoseObservationJointNameLeftAnkleVNDetectHumanBodyPoseRequest and VNTypes
Apple’s documentation
VNHumanBodyPoseObservationJointNameLeftEarVNDetectHumanBodyPoseRequest and VNTypes
Apple’s documentation
VNHumanBodyPoseObservationJointNameLeftElbowVNDetectHumanBodyPoseRequest and VNTypes
Apple’s documentation
VNHumanBodyPoseObservationJointNameLeftEyeVNDetectHumanBodyPoseRequest and VNTypes
Apple’s documentation
VNHumanBodyPoseObservationJointNameLeftHipVNDetectHumanBodyPoseRequest and VNTypes
Apple’s documentation
VNHumanBodyPoseObservationJointNameLeftKneeVNDetectHumanBodyPoseRequest and VNTypes
Apple’s documentation
VNHumanBodyPoseObservationJointNameLeftShoulderVNDetectHumanBodyPoseRequest and VNTypes
Apple’s documentation
VNHumanBodyPoseObservationJointNameLeftWristVNDetectHumanBodyPoseRequest and VNTypes
Apple’s documentation
VNHumanBodyPoseObservationJointNameNeckVNDetectHumanBodyPoseRequest and VNTypes
Apple’s documentation
VNHumanBodyPoseObservationJointNameNoseVNDetectHumanBodyPoseRequest and VNTypes
Apple’s documentation
VNHumanBodyPoseObservationJointNameRightAnkleVNDetectHumanBodyPoseRequest and VNTypes
Apple’s documentation
VNHumanBodyPoseObservationJointNameRightEarVNDetectHumanBodyPoseRequest and VNTypes
Apple’s documentation
VNHumanBodyPoseObservationJointNameRightElbowVNDetectHumanBodyPoseRequest and VNTypes
Apple’s documentation
VNHumanBodyPoseObservationJointNameRightEyeVNDetectHumanBodyPoseRequest and VNTypes
Apple’s documentation
VNHumanBodyPoseObservationJointNameRightHipVNDetectHumanBodyPoseRequest and VNTypes
Apple’s documentation
VNHumanBodyPoseObservationJointNameRightKneeVNDetectHumanBodyPoseRequest and VNTypes
Apple’s documentation
VNHumanBodyPoseObservationJointNameRightShoulderVNDetectHumanBodyPoseRequest and VNTypes
Apple’s documentation
VNHumanBodyPoseObservationJointNameRightWristVNDetectHumanBodyPoseRequest and VNTypes
Apple’s documentation
VNHumanBodyPoseObservationJointNameRootVNDetectHumanBodyPoseRequest and VNTypes
Apple’s documentation
VNHumanBodyPoseObservationJointsGroupNameAllVNDetectHumanBodyPoseRequest and VNTypes
Apple’s documentation
VNHumanBodyPoseObservationJointsGroupNameFaceVNDetectHumanBodyPoseRequest and VNTypes
Apple’s documentation
VNHumanBodyPoseObservationJointsGroupNameLeftArmVNDetectHumanBodyPoseRequest and VNTypes
Apple’s documentation
VNHumanBodyPoseObservationJointsGroupNameLeftLegVNDetectHumanBodyPoseRequest and VNTypes
Apple’s documentation
VNHumanBodyPoseObservationJointsGroupNameRightArmVNDetectHumanBodyPoseRequest and VNTypes
Apple’s documentation
VNHumanBodyPoseObservationJointsGroupNameRightLegVNDetectHumanBodyPoseRequest and VNTypes
Apple’s documentation
VNHumanBodyPoseObservationJointsGroupNameTorsoVNDetectHumanBodyPoseRequest and VNTypes
Apple’s documentation
VNHumanHandPoseObservationJointNameIndexDIPVNDetectHumanHandPoseRequest and VNTypes
Apple’s documentation
VNHumanHandPoseObservationJointNameIndexMCPVNDetectHumanHandPoseRequest and VNTypes
Apple’s documentation
VNHumanHandPoseObservationJointNameIndexPIPVNDetectHumanHandPoseRequest and VNTypes
Apple’s documentation
VNHumanHandPoseObservationJointNameIndexTipVNDetectHumanHandPoseRequest and VNTypes
Apple’s documentation
VNHumanHandPoseObservationJointNameLittleDIPVNDetectHumanHandPoseRequest and VNTypes
Apple’s documentation
VNHumanHandPoseObservationJointNameLittleMCPVNDetectHumanHandPoseRequest and VNTypes
Apple’s documentation
VNHumanHandPoseObservationJointNameLittlePIPVNDetectHumanHandPoseRequest and VNTypes
Apple’s documentation
VNHumanHandPoseObservationJointNameLittleTipVNDetectHumanHandPoseRequest and VNTypes
Apple’s documentation
VNHumanHandPoseObservationJointNameMiddleDIPVNDetectHumanHandPoseRequest and VNTypes
Apple’s documentation
VNHumanHandPoseObservationJointNameMiddleMCPVNDetectHumanHandPoseRequest and VNTypes
Apple’s documentation
VNHumanHandPoseObservationJointNameMiddlePIPVNDetectHumanHandPoseRequest and VNTypes
Apple’s documentation
VNHumanHandPoseObservationJointNameMiddleTipVNDetectHumanHandPoseRequest and VNTypes
Apple’s documentation
VNHumanHandPoseObservationJointNameRingDIPVNDetectHumanHandPoseRequest and VNTypes
Apple’s documentation
VNHumanHandPoseObservationJointNameRingMCPVNDetectHumanHandPoseRequest and VNTypes
Apple’s documentation
VNHumanHandPoseObservationJointNameRingPIPVNDetectHumanHandPoseRequest and VNTypes
Apple’s documentation
VNHumanHandPoseObservationJointNameRingTipVNDetectHumanHandPoseRequest and VNTypes
Apple’s documentation
VNHumanHandPoseObservationJointNameThumbCMCVNDetectHumanHandPoseRequest and VNTypes
Apple’s documentation
VNHumanHandPoseObservationJointNameThumbIPVNDetectHumanHandPoseRequest and VNTypes
Apple’s documentation
VNHumanHandPoseObservationJointNameThumbMPVNDetectHumanHandPoseRequest and VNTypes
Apple’s documentation
VNHumanHandPoseObservationJointNameThumbTipVNDetectHumanHandPoseRequest and VNTypes
Apple’s documentation
VNHumanHandPoseObservationJointNameWristVNDetectHumanHandPoseRequest and VNTypes
Apple’s documentation
VNHumanHandPoseObservationJointsGroupNameAllVNDetectHumanHandPoseRequest and VNTypes
Apple’s documentation
VNHumanHandPoseObservationJointsGroupNameIndexFingerVNDetectHumanHandPoseRequest and VNTypes
Apple’s documentation
VNHumanHandPoseObservationJointsGroupNameLittleFingerVNDetectHumanHandPoseRequest and VNTypes
Apple’s documentation
VNHumanHandPoseObservationJointsGroupNameMiddleFingerVNDetectHumanHandPoseRequest and VNTypes
Apple’s documentation
VNHumanHandPoseObservationJointsGroupNameRingFingerVNDetectHumanHandPoseRequest and VNTypes
Apple’s documentation
VNHumanHandPoseObservationJointsGroupNameThumbVNDetectHumanHandPoseRequest and VNTypes
Apple’s documentation
VNImageOptionCIContextVNRequestHandler
VNImageOptionCIContext Specifies the CIContext to be used in Core Image operations of request handler. If this is not specified, Vision will create its own CIContext. This option is helpful when the passed in CIImage is the result of a CIFilter chain that has been executed on a CIContext or uses outputs of a CIImage on a given CIContext as they don’t have to transfer to other contexts.
VNImageOptionCameraIntrinsicsVNRequestHandler
VNImageOptionCameraIntrinsics Specifies the camera intrinsics as an NSData or CFData representing a matrix_float3x3. See kCMSampleBufferAttachmentKey_CameraIntrinsicMatrix for details
VNImageOptionPropertiesVNRequestHandler
VNImageOptionProperties is the dictionary from CGImageSourceCopyPropertiesAtIndex. This contains metadata that can be used by some algorithms like horizon detection.
VNNormalizedIdentityRectVNUtils and objc2-core-foundation
The normalized identity rect of { {0, 0}, {1, 1} }.
VNRecognizeAnimalsRequestRevision1VNRecognizeAnimalsRequest
Apple’s documentation
VNRecognizeAnimalsRequestRevision2VNRecognizeAnimalsRequest
Apple’s documentation
VNRecognizeTextRequestRevision1VNRecognizeTextRequest
Apple’s documentation
VNRecognizeTextRequestRevision2VNRecognizeTextRequest
Apple’s documentation
VNRecognizeTextRequestRevision3VNRecognizeTextRequest
Apple’s documentation
VNRecognizedPoint3DGroupKeyAllVNObservation and VNTypes
Apple’s documentation
VNRecognizedPointGroupKeyAllVNObservation and VNTypes
Apple’s documentation
VNRequestRevisionUnspecifiedVNRequest
A value that indicates that the request revision is either unknown or not applicable.
VNTrackHomographicImageRegistrationRequestRevision1VNTrackHomographicImageRegistrationRequest
Apple’s documentation
VNTrackObjectRequestRevision1VNTrackObjectRequest
Apple’s documentation
VNTrackObjectRequestRevision2VNTrackObjectRequest
Apple’s documentation
VNTrackOpticalFlowRequestRevision1VNTrackOpticalFlowRequest
Apple’s documentation
VNTrackRectangleRequestRevision1VNTrackRectangleRequest
Apple’s documentation
VNTrackTranslationalImageRegistrationRequestRevision1VNTrackTranslationalImageRegistrationRequest
Apple’s documentation
VNTranslationalImageRegistrationRequestRevision1VNImageRegistrationRequest
Apple’s documentation
VNVideoProcessingOptionFrameCadenceVNTypes
Apple’s documentation
VNVideoProcessingOptionTimeIntervalVNTypes
Apple’s documentation
VNVisionVersionNumber
Apple’s documentation

Traits§

VNFaceObservationAcceptingVNFaceObservationAccepting
A protocol that allows a user to provide an input collection of VNFaceObservations as part of a request. The protocol can be adopted by request objects that request additional information about detected faces, such as facial landmarks.
VNRequestProgressProvidingVNRequest
Apple’s documentation
VNRequestRevisionProvidingVNRequestRevisionProviding
Apple’s documentation

Functions§

VNElementTypeSizeVNUtils and VNTypes
Obtain the size, in bytes, of a given element type.
VNImagePointForNormalizedPointVNUtils and objc2-core-foundation
Returns a point in (possibly non-integral) image coordinates that is projected from a point in a normalized coordinate space.
VNImagePointForNormalizedPointUsingRegionOfInterestVNUtils and objc2-core-foundation
Returns a point in (possibly non-integral) image coordinates that is projected from a point in a normalized coordinate space taking the region of interest (roi) into account.
VNImageRectForNormalizedRectVNUtils and objc2-core-foundation
Returns a rectangle in (possibly non-integral) image coordinates that is projected from a rectangle in a normalized coordinate space.
VNImageRectForNormalizedRectUsingRegionOfInterestVNUtils and objc2-core-foundation
Returns a rectangle in (possibly non-integral) image coordinates that is projected from a rectangle in a normalized coordinate space taking the region of interest (roi) into account.
VNNormalizedPointForImagePointVNUtils and objc2-core-foundation
Returns a point in normalized coordinate space that is projected from a point in a image coordinates
VNNormalizedPointForImagePointUsingRegionOfInterestVNUtils and objc2-core-foundation
Returns a point in normalized coordinate space within a spedified regioin of interest (roi) that is projected from a point in a image coordinates
VNNormalizedRectForImageRectVNUtils and objc2-core-foundation
Returns an image rectangle in normalized coordinates.
VNNormalizedRectForImageRectUsingRegionOfInterestVNUtils and objc2-core-foundation
Returns an image rectangle in normalized coordinates in relation to the region of interest.
VNNormalizedRectIsIdentityRectVNUtils and objc2-core-foundation
Determines whether or not the normalized rect describes the identity rect of { {0, 0}, {1, 1} }.

Type Aliases§

VNAnimalBodyPoseObservationJointNameVNTypes
Apple’s documentation
VNAnimalBodyPoseObservationJointsGroupNameVNTypes
Apple’s documentation
VNAnimalIdentifierVNRecognizeAnimalsRequest
Apple’s documentation
VNAspectRatioVNTypes
Apple’s documentation
VNBarcodeSymbologyVNTypes
Barcode symbologies that are supported by the Vision framework.
VNComputeStageVNTypes
Apple’s documentation
VNConfidenceVNTypes
Apple’s documentation
VNDegreesVNTypes
Apple’s documentation
VNHumanBodyPose3DObservationJointNameVNTypes
Human Body 3D Pose Joints that are suppported by Vision framework
VNHumanBodyPose3DObservationJointsGroupNameVNTypes
Apple’s documentation
VNHumanBodyPoseObservationJointNameVNDetectHumanBodyPoseRequest and VNTypes
Apple’s documentation
VNHumanBodyPoseObservationJointsGroupNameVNDetectHumanBodyPoseRequest and VNTypes
Apple’s documentation
VNHumanHandPoseObservationJointNameVNDetectHumanHandPoseRequest and VNTypes
Apple’s documentation
VNHumanHandPoseObservationJointsGroupNameVNDetectHumanHandPoseRequest and VNTypes
Apple’s documentation
VNImageOptionVNRequestHandler
Options keys passed into the VNImageRequestHandler creations or requests that take an auxiliary image. These are options that either describe specific properties of an image like the VNImageOptionCameraIntrinsics or how an image needs to be handled like the VNImageOptionCIContext.
VNRecognizedPointGroupKeyVNTypes
Apple’s documentation
VNRecognizedPointKeyVNTypes
Apple’s documentation
VNRequestCompletionHandlerVNRequest and block2
A block that is executed at the completion of a request.
VNRequestProgressHandlerVNRequest and block2
A block that is executed at intervals during the processing of a request.
VNVideoProcessingOptionVNTypes
Apple’s documentation