Cargo Features
[dependencies]
objc2-vision = { version = "0.2.2", default-features = false, features = ["std", "alloc", "all", "block2", "objc2-core-image", "objc2-core-ml", "VNClassifyImageRequest", "VNCoreMLRequest", "VNDefines", "VNDetectBarcodesRequest", "VNDetectContoursRequest", "VNDetectFaceCaptureQualityRequest", "VNDetectFaceRectanglesRequest", "VNDetectHorizonRequest", "VNDetectHumanBodyPose3DRequest", "VNDetectHumanHandPoseRequest", "VNDetectRectanglesRequest", "VNDetectTrajectoriesRequest", "VNDetectedPoint", "VNError", "VNFaceLandmarks", "VNFaceObservationAccepting", "VNGenerateAttentionBasedSaliencyImageRequest", "VNGenerateForegroundInstanceMaskRequest", "VNGenerateImageFeaturePrintRequest", "VNGenerateObjectnessBasedSaliencyImageRequest", "VNGenerateOpticalFlowRequest", "VNGeneratePersonSegmentationRequest", "VNGeometry", "VNGeometryUtils", "VNHumanBodyRecognizedPoint3D", "VNImageRegistrationRequest", "VNObservation", "VNRecognizeTextRequest", "VNRecognizedPoint3D", "VNRequest", "VNRequestHandler", "VNRequestRevisionProviding", "VNStatefulRequest", "VNTargetedImageRequest", "VNTrackHomographicImageRegistrationRequest", "VNTrackObjectRequest", "VNTrackOpticalFlowRequest", "VNTrackRectangleRequest", "VNTrackTranslationalImageRegistrationRequest", "VNTrackingRequest", "VNTypes", "VNUtils", "VNVideoProcessor"] }
- default = std
-
The
std
feature is set by default wheneverobjc2-vision
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
-
Currently not possible to turn off, put here for forwards compatibility.
Enables std of optional block2, objc2, optional objc2-core-image, optional objc2-core-ml, and objc2-foundation
- alloc std
-
Enables alloc of optional block2, objc2, optional objc2-core-image, optional objc2-core-ml, and objc2-foundation
- all = 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-image, objc2-core-ml
- block2 all?
-
Enables block2, block2 of objc2-foundation, optional objc2-core-image, and optional objc2-core-ml
Affects
VNRequest::VNRequestCompletionHandler
,VNRequest::VNRequestProgressHandler
… - objc2-core-image all?
-
Enables objc2-core-image
- objc2-core-ml all?
-
Enables objc2-core-ml
- VNClassifyImageRequest all?
-
Enables NSArray, NSError, NSObject and NSString of objc2-foundation
- VNCoreMLRequest all?
-
Enables NSError, NSObject and NSString of objc2-foundation, MLFeatureProvider and MLModel of optional objc2-core-ml
- VNDefines all?
- VNDetectAnimalBodyPoseRequest VNDetectBarcodesRequest all?
-
Enables NSArray, NSError, NSObject and NSString of objc2-foundation
- VNDetectContoursRequest all?
-
Enables NSArray, NSError, NSObject and NSValue of objc2-foundation
- VNDetectDocumentSegmentationRequest VNDetectFaceCaptureQualityRequest all?
-
Enables NSArray, NSError and NSObject of objc2-foundation
- VNDetectFaceLandmarksRequest VNDetectFaceRectanglesRequest all?
-
Enables NSArray, NSError and NSObject of objc2-foundation
- VNDetectHorizonRequest all?
-
Enables NSArray, NSError and NSObject of objc2-foundation
- VNDetectHumanBodyPose3DRequest all?
-
Enables NSArray, NSError, NSObject and NSString of objc2-foundation
- VNDetectHumanBodyPoseRequest VNDetectHumanHandPoseRequest all?
-
Enables NSArray, NSDictionary, NSError, NSObject and NSString of objc2-foundation
- VNDetectHumanRectanglesRequest VNDetectRectanglesRequest all?
-
Enables NSArray, NSError and NSObject of objc2-foundation
- VNDetectTextRectanglesRequest VNDetectTrajectoriesRequest all?
-
Enables NSArray, NSError and NSObject of objc2-foundation
- VNDetectedPoint all?
-
Enables NSGeometry, NSObject and NSString of objc2-foundation
- VNError all?
-
Enables NSString of objc2-foundation
- VNFaceLandmarks all?
-
Enables NSArray, NSGeometry, NSObject and NSValue of objc2-foundation
- VNFaceObservationAccepting all?
-
Enables NSArray of objc2-foundation
- VNGenerateAttentionBasedSaliencyImageRequest all?
-
Enables NSArray, NSError and NSObject of objc2-foundation
- VNGenerateForegroundInstanceMaskRequest all?
-
Enables NSArray, NSError and NSObject of objc2-foundation
- VNGenerateImageFeaturePrintRequest all?
-
Enables NSArray, NSError and NSObject of objc2-foundation
- VNGenerateObjectnessBasedSaliencyImageRequest all?
-
Enables NSArray, NSError and NSObject of objc2-foundation
- VNGenerateOpticalFlowRequest all?
-
Enables NSArray, NSData, NSDictionary, NSError, NSObject, NSString and NSURL of objc2-foundation, CIImage of optional objc2-core-image
- VNGeneratePersonInstanceMaskRequest VNGeneratePersonSegmentationRequest all?
-
Enables NSArray, NSError and NSObject of objc2-foundation
- VNGeometry all?
-
Enables NSArray, NSError, NSGeometry, NSIndexPath and NSObject of objc2-foundation
- VNGeometryUtils all?
-
Enables NSArray and NSError of objc2-foundation
- VNHumanBodyRecognizedPoint3D all?
-
Enables NSObject and NSString of objc2-foundation
- VNImageRegistrationRequest all?
-
Enables NSArray, NSData, NSDictionary, NSError, NSObject, NSString and NSURL of objc2-foundation, CIImage of optional objc2-core-image
- VNObservation all?
-
Enables NSArray, NSData, NSDictionary, NSError, NSGeometry, NSIndexPath, NSIndexSet, NSObject, NSRange, NSString, NSUUID and NSValue of objc2-foundation, CIBarcodeDescriptor of optional objc2-core-image, MLFeatureValue and MLMultiArray of optional objc2-core-ml
- VNRecognizeAnimalsRequest VNRecognizeTextRequest all?
-
Enables NSArray, NSError, NSObject and NSString of objc2-foundation
- VNRecognizedPoint3D all?
-
Enables NSObject and NSString of objc2-foundation
- VNRequest all?
-
Enables NSArray, NSDictionary, NSError, NSGeometry, NSIndexSet, NSObject and NSString of objc2-foundation, MLComputeDeviceProtocol of optional objc2-core-ml
- VNRequestHandler all?
-
Enables NSArray, NSData, NSDictionary, NSError, NSString and NSURL of objc2-foundation, CIImage of optional objc2-core-image
- VNRequestRevisionProviding all?
- VNStatefulRequest all?
-
Enables NSError and NSObject of objc2-foundation
- VNTargetedImageRequest all?
-
Enables NSData, NSDictionary, NSError, NSObject, NSString and NSURL of objc2-foundation, CIImage of optional objc2-core-image
- VNTrackHomographicImageRegistrationRequest all?
-
Enables NSArray, NSError and NSObject of objc2-foundation
- VNTrackObjectRequest all?
-
Enables NSError and NSObject of objc2-foundation
- VNTrackOpticalFlowRequest all?
-
Enables NSArray, NSError and NSObject of objc2-foundation
- VNTrackRectangleRequest all?
-
Enables NSError and NSObject of objc2-foundation
- VNTrackTranslationalImageRegistrationRequest all?
-
Enables NSArray, NSError and NSObject of objc2-foundation
- VNTrackingRequest all?
-
Enables NSError and NSObject of objc2-foundation
- VNTypes all?
-
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 all?
-
Enables NSGeometry of objc2-foundation
- VNVideoProcessor all?
-
Enables NSDictionary, NSError, NSObject, NSString and NSURL of objc2-foundation