# This file has been automatically generated by `objc2`'s `header-translator`. # DO NOT EDIT [package] name = "objc2-vision" version = "0.2.2" # Remember to update html_root_url in lib.rs description = "Bindings to the Vision framework" edition = "2021" rust-version = "1.60" keywords = ["cocoa", "apple", "framework", "macos", "ios"] categories = [ "api-bindings", "development-tools::ffi", "external-ffi-bindings", "os::macos-apis", ] repository = "https://github.com/madsmtm/objc2" license = "MIT" [lints] workspace = true [dependencies] block2 = { path = "../../crates/block2", version = "0.5.1", default-features = false, optional = true } objc2 = { path = "../../crates/objc2", version = "0.5.2", default-features = false } objc2-core-image = { path = "../objc2-core-image", version = "0.2.2", default-features = false, optional = true } objc2-core-ml = { path = "../objc2-core-ml", version = "0.2.2", default-features = false, optional = true } objc2-foundation = { path = "../objc2-foundation", version = "0.2.2", default-features = false } [package.metadata.docs.rs] default-target = "aarch64-apple-darwin" features = ["all"] targets = [ "aarch64-apple-darwin", "x86_64-apple-darwin", "aarch64-apple-ios", "aarch64-apple-tvos", "aarch64-apple-ios-macabi", ] [features] default = ["std"] # Currently not possible to turn off, put here for forwards compatibility. std = ["alloc", "block2?/std", "objc2/std", "objc2-core-image?/std", "objc2-core-ml?/std", "objc2-foundation/std"] alloc = ["block2?/alloc", "objc2/alloc", "objc2-core-image?/alloc", "objc2-core-ml?/alloc", "objc2-foundation/alloc"] block2 = ["dep:block2", "objc2-core-image?/block2", "objc2-core-ml?/block2", "objc2-foundation/block2"] objc2-core-image = ["dep:objc2-core-image"] objc2-core-ml = ["dep:objc2-core-ml"] VNClassifyImageRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSObject", "objc2-foundation/NSString", ] VNCoreMLRequest = [ "objc2-core-ml?/MLFeatureProvider", "objc2-core-ml?/MLModel", "objc2-foundation/NSError", "objc2-foundation/NSObject", "objc2-foundation/NSString", ] VNDefines = [] VNDetectAnimalBodyPoseRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSObject", "objc2-foundation/NSString", ] VNDetectBarcodesRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSObject", "objc2-foundation/NSString", ] VNDetectContoursRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSObject", "objc2-foundation/NSValue", ] VNDetectDocumentSegmentationRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSObject", ] VNDetectFaceCaptureQualityRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSObject", ] VNDetectFaceLandmarksRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSObject", ] VNDetectFaceRectanglesRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSObject", ] VNDetectHorizonRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSObject", ] VNDetectHumanBodyPose3DRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSObject", "objc2-foundation/NSString", ] VNDetectHumanBodyPoseRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSDictionary", "objc2-foundation/NSError", "objc2-foundation/NSObject", "objc2-foundation/NSString", ] VNDetectHumanHandPoseRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSDictionary", "objc2-foundation/NSError", "objc2-foundation/NSObject", "objc2-foundation/NSString", ] VNDetectHumanRectanglesRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSObject", ] VNDetectRectanglesRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSObject", ] VNDetectTextRectanglesRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSObject", ] VNDetectTrajectoriesRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSObject", ] VNDetectedPoint = [ "objc2-foundation/NSGeometry", "objc2-foundation/NSObject", "objc2-foundation/NSString", ] VNError = ["objc2-foundation/NSString"] VNFaceLandmarks = [ "objc2-foundation/NSArray", "objc2-foundation/NSGeometry", "objc2-foundation/NSObject", "objc2-foundation/NSValue", ] VNFaceObservationAccepting = ["objc2-foundation/NSArray"] VNGenerateAttentionBasedSaliencyImageRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSObject", ] VNGenerateForegroundInstanceMaskRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSObject", ] VNGenerateImageFeaturePrintRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSObject", ] VNGenerateObjectnessBasedSaliencyImageRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSObject", ] VNGenerateOpticalFlowRequest = [ "objc2-core-image?/CIImage", "objc2-foundation/NSArray", "objc2-foundation/NSData", "objc2-foundation/NSDictionary", "objc2-foundation/NSError", "objc2-foundation/NSObject", "objc2-foundation/NSString", "objc2-foundation/NSURL", ] VNGeneratePersonInstanceMaskRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSObject", ] VNGeneratePersonSegmentationRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSObject", ] VNGeometry = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSGeometry", "objc2-foundation/NSIndexPath", "objc2-foundation/NSObject", ] VNGeometryUtils = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", ] VNHumanBodyRecognizedPoint3D = [ "objc2-foundation/NSObject", "objc2-foundation/NSString", ] VNImageRegistrationRequest = [ "objc2-core-image?/CIImage", "objc2-foundation/NSArray", "objc2-foundation/NSData", "objc2-foundation/NSDictionary", "objc2-foundation/NSError", "objc2-foundation/NSObject", "objc2-foundation/NSString", "objc2-foundation/NSURL", ] VNObservation = [ "objc2-core-image?/CIBarcodeDescriptor", "objc2-core-ml?/MLFeatureValue", "objc2-core-ml?/MLMultiArray", "objc2-foundation/NSArray", "objc2-foundation/NSData", "objc2-foundation/NSDictionary", "objc2-foundation/NSError", "objc2-foundation/NSGeometry", "objc2-foundation/NSIndexPath", "objc2-foundation/NSIndexSet", "objc2-foundation/NSObject", "objc2-foundation/NSRange", "objc2-foundation/NSString", "objc2-foundation/NSUUID", "objc2-foundation/NSValue", ] VNRecognizeAnimalsRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSObject", "objc2-foundation/NSString", ] VNRecognizeTextRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSObject", "objc2-foundation/NSString", ] VNRecognizedPoint3D = [ "objc2-foundation/NSObject", "objc2-foundation/NSString", ] VNRequest = [ "objc2-core-ml?/MLComputeDeviceProtocol", "objc2-foundation/NSArray", "objc2-foundation/NSDictionary", "objc2-foundation/NSError", "objc2-foundation/NSGeometry", "objc2-foundation/NSIndexSet", "objc2-foundation/NSObject", "objc2-foundation/NSString", ] VNRequestHandler = [ "objc2-core-image?/CIImage", "objc2-foundation/NSArray", "objc2-foundation/NSData", "objc2-foundation/NSDictionary", "objc2-foundation/NSError", "objc2-foundation/NSString", "objc2-foundation/NSURL", ] VNRequestRevisionProviding = [] VNStatefulRequest = [ "objc2-foundation/NSError", "objc2-foundation/NSObject", ] VNTargetedImageRequest = [ "objc2-core-image?/CIImage", "objc2-foundation/NSData", "objc2-foundation/NSDictionary", "objc2-foundation/NSError", "objc2-foundation/NSObject", "objc2-foundation/NSString", "objc2-foundation/NSURL", ] VNTrackHomographicImageRegistrationRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSObject", ] VNTrackObjectRequest = [ "objc2-foundation/NSError", "objc2-foundation/NSObject", ] VNTrackOpticalFlowRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSObject", ] VNTrackRectangleRequest = [ "objc2-foundation/NSError", "objc2-foundation/NSObject", ] VNTrackTranslationalImageRegistrationRequest = [ "objc2-foundation/NSArray", "objc2-foundation/NSError", "objc2-foundation/NSObject", ] VNTrackingRequest = [ "objc2-foundation/NSError", "objc2-foundation/NSObject", ] VNTypes = ["objc2-foundation/NSString"] VNUtils = ["objc2-foundation/NSGeometry"] VNVideoProcessor = [ "objc2-foundation/NSDictionary", "objc2-foundation/NSError", "objc2-foundation/NSObject", "objc2-foundation/NSString", "objc2-foundation/NSURL", ] all = [ "VNClassifyImageRequest", "VNCoreMLRequest", "VNDefines", "VNDetectAnimalBodyPoseRequest", "VNDetectBarcodesRequest", "VNDetectContoursRequest", "VNDetectDocumentSegmentationRequest", "VNDetectFaceCaptureQualityRequest", "VNDetectFaceLandmarksRequest", "VNDetectFaceRectanglesRequest", "VNDetectHorizonRequest", "VNDetectHumanBodyPose3DRequest", "VNDetectHumanBodyPoseRequest", "VNDetectHumanHandPoseRequest", "VNDetectHumanRectanglesRequest", "VNDetectRectanglesRequest", "VNDetectTextRectanglesRequest", "VNDetectTrajectoriesRequest", "VNDetectedPoint", "VNError", "VNFaceLandmarks", "VNFaceObservationAccepting", "VNGenerateAttentionBasedSaliencyImageRequest", "VNGenerateForegroundInstanceMaskRequest", "VNGenerateImageFeaturePrintRequest", "VNGenerateObjectnessBasedSaliencyImageRequest", "VNGenerateOpticalFlowRequest", "VNGeneratePersonInstanceMaskRequest", "VNGeneratePersonSegmentationRequest", "VNGeometry", "VNGeometryUtils", "VNHumanBodyRecognizedPoint3D", "VNImageRegistrationRequest", "VNObservation", "VNRecognizeAnimalsRequest", "VNRecognizeTextRequest", "VNRecognizedPoint3D", "VNRequest", "VNRequestHandler", "VNRequestRevisionProviding", "VNStatefulRequest", "VNTargetedImageRequest", "VNTrackHomographicImageRegistrationRequest", "VNTrackObjectRequest", "VNTrackOpticalFlowRequest", "VNTrackRectangleRequest", "VNTrackTranslationalImageRegistrationRequest", "VNTrackingRequest", "VNTypes", "VNUtils", "VNVideoProcessor", "block2", "objc2-core-image", "objc2-core-ml", ]