Cargo Features

[dependencies]
objc2-vision = { version = "0.3.0", default-features = false, features = ["std", "alloc", "block2", "objc2-core-foundation", "objc2-core-graphics", "objc2-core-image", "objc2-core-media", "objc2-core-ml", "objc2-core-video", "VNCalculateImageAestheticsScoresRequest", "VNClassifyImageRequest", "VNCoreMLRequest", "VNDefines", "VNDetectBarcodesRequest", "VNDetectContoursRequest", "VNDetectDocumentSegmentationRequest", "VNDetectFaceLandmarksRequest", "VNDetectHorizonRequest", "VNDetectHumanBodyPose3DRequest", "VNDetectHumanHandPoseRequest", "VNDetectRectanglesRequest", "VNDetectTrajectoriesRequest", "VNDetectedPoint", "VNError", "VNFaceLandmarks", "VNFaceObservationAccepting", "VNGenerateAttentionBasedSaliencyImageRequest", "VNGenerateForegroundInstanceMaskRequest", "VNGenerateImageFeaturePrintRequest", "VNGenerateObjectnessBasedSaliencyImageRequest", "VNGenerateOpticalFlowRequest", "VNGeneratePersonInstanceMaskRequest", "VNGeneratePersonSegmentationRequest", "VNGeometry", "VNGeometryUtils", "VNHumanBodyRecognizedPoint3D", "VNImageRegistrationRequest", "VNObservation", "VNRecognizeTextRequest", "VNRecognizedPoint3D", "VNRequest", "VNRequestHandler", "VNRequestRevisionProviding", "VNStatefulRequest", "VNTargetedImageRequest", "VNTrackHomographicImageRegistrationRequest", "VNTrackObjectRequest", "VNTrackOpticalFlowRequest", "VNTrackRectangleRequest", "VNTrackTranslationalImageRegistrationRequest", "VNTrackingRequest", "VNTypes", "VNUtils", "VNVideoProcessor"] }
default = VNCalculateImageAestheticsScoresReq…, VNClassifyImageRequest, VNCoreMLRequest, VNDefines, VNDetectAnimalBodyPoseRequest, VNDetectBarcodesRequest, VNDetectContoursRequest, VNDetectDocumentSegmentationRequest, VNDetectFaceCaptureQualityRequest, VNDetectFaceLandmarksRequest, VNDetectFaceRectanglesRequest, VNDetectHorizonRequest, VNDetectHumanBodyPose3DRequest, VNDetectHumanBodyPoseRequest, VNDetectHumanHandPoseRequest, VNDetectHumanRectanglesRequest, VNDetectRectanglesRequest, VNDetectTextRectanglesRequest, VNDetectTrajectoriesRequest, VNDetectedPoint, VNError, VNFaceLandmarks, VNFaceObservationAccepting, VNGenerateAttentionBasedSaliencyIma…, VNGenerateForegroundInstanceMaskReq…, VNGenerateImageFeaturePrintRequest, VNGenerateObjectnessBasedSaliencyIm…, VNGenerateOpticalFlowRequest, VNGeneratePersonInstanceMaskRequest, VNGeneratePersonSegmentationRequest, VNGeometry, VNGeometryUtils, VNHumanBodyRecognizedPoint3D, VNImageRegistrationRequest, VNObservation, VNRecognizeAnimalsRequest, VNRecognizeTextRequest, VNRecognizedPoint3D, VNRequest, VNRequestHandler, VNRequestRevisionProviding, VNStatefulRequest, VNTargetedImageRequest, VNTrackHomographicImageRegistration…, VNTrackObjectRequest, VNTrackOpticalFlowRequest, VNTrackRectangleRequest, VNTrackTranslationalImageRegistrati…, VNTrackingRequest, VNTypes, VNUtils, VNVideoProcessor, block2, objc2-core-foundation, objc2-core-graphics, objc2-core-image, objc2-core-media, objc2-core-ml, objc2-core-video, std

These default features are set whenever objc2-vision is added without default-features = false somewhere in the dependency tree.

std default = alloc
alloc std
block2 default

Enables block2

Affects VNRequest::VNRequestCompletionHandler, VNRequest::VNRequestProgressHandler

objc2-core-foundation default

Enables objc2-core-foundation

Affects VNUtils::VNNormalizedIdentityRect, VNUtils::VNNormalizedRectIsIdentityRect, VNUtils::VNImagePointForNormalizedPoint, VNUtils::VNImagePointForNormalizedPointUsingRegionOfInterest, VNUtils::VNNormalizedPointForImagePoint, VNUtils::VNNormalizedPointForImagePointUsingRegionOfInterest, VNUtils::VNImageRectForNormalizedRect, VNUtils::VNImageRectForNormalizedRectUsingRegionOfInterest, VNUtils::VNNormalizedRectForImageRect, VNUtils::VNNormalizedRectForImageRectUsingRegionOfInterest

objc2-core-graphics default

Enables objc2-core-graphics

objc2-core-image default

Enables objc2-core-image

objc2-core-media default

Enables objc2-core-media

objc2-core-ml default

Enables objc2-core-ml

objc2-core-video default

Enables objc2-core-video

VNCalculateImageAestheticsScoresRequest default

Enables NSArray, NSError and NSObject of objc2-foundation

VNClassifyImageRequest default

Enables NSArray, NSError, NSObject and NSString of objc2-foundation

VNCoreMLRequest default

Enables NSError, NSObject and NSString of objc2-foundation

VNDefines default
VNDetectAnimalBodyPoseRequest VNDetectBarcodesRequest default

Enables NSArray, NSError, NSObject and NSString of objc2-foundation

VNDetectContoursRequest default

Enables NSArray, NSError, NSObject and NSValue of objc2-foundation

VNDetectDocumentSegmentationRequest default

Enables NSArray, NSError and NSObject of objc2-foundation

VNDetectFaceCaptureQualityRequest VNDetectFaceLandmarksRequest default

Enables NSArray, NSError and NSObject of objc2-foundation

VNDetectFaceRectanglesRequest VNDetectHorizonRequest default

Enables NSArray, NSError and NSObject of objc2-foundation

VNDetectHumanBodyPose3DRequest default

Enables NSArray, NSError, NSObject and NSString of objc2-foundation

VNDetectHumanBodyPoseRequest VNDetectHumanHandPoseRequest default

Enables NSArray, NSDictionary, NSError, NSObject and NSString of objc2-foundation

VNDetectHumanRectanglesRequest VNDetectRectanglesRequest default

Enables NSArray, NSError and NSObject of objc2-foundation

VNDetectTextRectanglesRequest VNDetectTrajectoriesRequest default

Enables NSArray, NSError and NSObject of objc2-foundation

VNDetectedPoint default

Enables NSObject and NSString of objc2-foundation

VNError default

Enables NSString of objc2-foundation

VNFaceLandmarks default

Enables NSArray, NSObject and NSValue of objc2-foundation

VNFaceObservationAccepting default

Enables NSArray of objc2-foundation

VNGenerateAttentionBasedSaliencyImageRequest default

Enables NSArray, NSError and NSObject of objc2-foundation

VNGenerateForegroundInstanceMaskRequest default

Enables NSArray, NSError and NSObject of objc2-foundation

VNGenerateImageFeaturePrintRequest default

Enables NSArray, NSError and NSObject of objc2-foundation

VNGenerateObjectnessBasedSaliencyImageRequest default

Enables NSArray, NSError and NSObject of objc2-foundation

VNGenerateOpticalFlowRequest default

Enables NSArray, NSData, NSDictionary, NSError, NSObject, NSString and NSURL of objc2-foundation

VNGeneratePersonInstanceMaskRequest default

Enables NSArray, NSError and NSObject of objc2-foundation

VNGeneratePersonSegmentationRequest default

Enables NSArray, NSError, NSObject and NSValue of objc2-foundation

VNGeometry default

Enables NSArray, NSError, NSIndexPath and NSObject of objc2-foundation

VNGeometryUtils default

Enables NSArray and NSError of objc2-foundation

VNHumanBodyRecognizedPoint3D default

Enables NSObject and NSString of objc2-foundation

VNImageRegistrationRequest default

Enables NSArray, NSData, NSDictionary, NSError, NSObject, NSString and NSURL of objc2-foundation

VNObservation default

Enables NSArray, NSData, NSDictionary, NSError, NSIndexPath, NSIndexSet, NSObject, NSString, NSUUID and NSValue of objc2-foundation

VNRecognizeAnimalsRequest VNRecognizeTextRequest default

Enables NSArray, NSError, NSObject and NSString of objc2-foundation

VNRecognizedPoint3D default

Enables NSObject and NSString of objc2-foundation

VNRequest default

Enables NSArray, NSDictionary, NSError, NSIndexSet, NSObject and NSString of objc2-foundation

VNRequestHandler default

Enables NSArray, NSData, NSDictionary, NSError, NSString and NSURL of objc2-foundation

VNRequestRevisionProviding default
VNStatefulRequest default

Enables NSError and NSObject of objc2-foundation

VNTargetedImageRequest default

Enables NSData, NSDictionary, NSError, NSObject, NSString and NSURL of objc2-foundation

VNTrackHomographicImageRegistrationRequest default

Enables NSArray, NSError and NSObject of objc2-foundation

VNTrackObjectRequest default

Enables NSError and NSObject of objc2-foundation

VNTrackOpticalFlowRequest default

Enables NSArray, NSError and NSObject of objc2-foundation

VNTrackRectangleRequest default

Enables NSError and NSObject of objc2-foundation

VNTrackTranslationalImageRegistrationRequest default

Enables NSArray, NSError and NSObject of objc2-foundation

VNTrackingRequest default

Enables NSError and NSObject of objc2-foundation

VNTypes default

Enables NSString of objc2-foundation

Affects VNDetectHumanBodyPoseRequest::VNBodyLandmarkKeyNose, VNDetectHumanBodyPoseRequest::VNBodyLandmarkKeyLeftEye, VNDetectHumanBodyPoseRequest::VNBodyLandmarkKeyRightEye, VNDetectHumanBodyPoseRequest::VNBodyLandmarkKeyLeftEar, VNDetectHumanBodyPoseRequest::VNBodyLandmarkKeyRightEar, VNDetectHumanBodyPoseRequest::VNBodyLandmarkKeyLeftShoulder, VNDetectHumanBodyPoseRequest::VNBodyLandmarkKeyRightShoulder, VNDetectHumanBodyPoseRequest::VNBodyLandmarkKeyNeck, VNDetectHumanBodyPoseRequest::VNBodyLandmarkKeyLeftElbow, VNDetectHumanBodyPoseRequest::VNBodyLandmarkKeyRightElbow, VNDetectHumanBodyPoseRequest::VNBodyLandmarkKeyLeftWrist, VNDetectHumanBodyPoseRequest::VNBodyLandmarkKeyRightWrist, VNDetectHumanBodyPoseRequest::VNBodyLandmarkKeyLeftHip, VNDetectHumanBodyPoseRequest::VNBodyLandmarkKeyRightHip, VNDetectHumanBodyPoseRequest::VNBodyLandmarkKeyRoot, VNDetectHumanHandPoseRequest::VNHumanHandPoseObservationJointName, VNDetectHumanHandPoseRequest::VNHumanHandPoseObservationJointNameWrist, VNDetectHumanHandPoseRequest::VNHumanHandPoseObservationJointNameThumbCMC, VNDetectHumanHandPoseRequest::VNHumanHandPoseObservationJointNameThumbMP, VNDetectHumanHandPoseRequest::VNHumanHandPoseObservationJointNameThumbIP

VNUtils default
VNVideoProcessor default

Enables NSDictionary, NSError, NSObject, NSString and NSURL of objc2-foundation