Vision iOS 14.5 to 15.0 API Differences

VNClassifyImageRequest.h
Added -[VNClassifyImageRequest supportedIdentifiersAndReturnError:]
Added VNClassifyImageRequest.results
Modified +[VNClassifyImageRequest knownClassificationsForRevision:error:]
AvailabilityReplacement
FromAvailablenone
ToDeprecated-supportedIdentifiersAndReturnError:

VNDetectBarcodesRequest.h
Added -[VNDetectBarcodesRequest supportedSymbologiesAndReturnError:]
Added VNDetectBarcodesRequest.results
Added VNDetectBarcodesRequestRevision2
Modified VNDetectBarcodesRequest.supportedSymbologies
AvailabilityReplacement
FromAvailablenone
ToDeprecated-supportedSymbologiesAndReturnError:

VNDetectContoursRequest.h
Added VNDetectContoursRequest.contrastPivot
Added VNDetectContoursRequest.results
VNDetectDocumentSegmentationRequest.h
Added VNDetectDocumentSegmentationRequest
Added VNDetectDocumentSegmentationRequest.results
Added VNDetectDocumentSegmentationRequestRevision1
VNDetectFaceCaptureQualityRequest.h
Added VNDetectFaceCaptureQualityRequest.results
VNDetectFaceLandmarksRequest.h
Added VNDetectFaceLandmarksRequest.results
VNDetectFaceRectanglesRequest.h
Added VNDetectFaceRectanglesRequest.results
Added VNDetectFaceRectanglesRequestRevision3
VNDetectHorizonRequest.h
Added VNDetectHorizonRequest.results
VNDetectHumanBodyPoseRequest.h
Removed +[VNDetectHumanBodyPoseRequest supportedRecognizedPointKeysForRevision:error:]
Removed +[VNDetectHumanBodyPoseRequest supportedRecognizedPointGroupKeysForRevision:error:]
Removed +[VNDetectHumanBodyPoseRequest supportedIdentifiedPointKeysForRevision:error:]
Removed +[VNDetectHumanBodyPoseRequest supportedIdentifiedPointGroupKeysForRevision:error:]
VNDetectHumanHandPoseRequest.h
Removed VNHandLandmarkKeyWrist
Removed VNHandLandmarkKeyThumbCMC
Removed VNHandLandmarkKeyThumbMP
Removed VNHandLandmarkKeyThumbIP
Removed VNHandLandmarkKeyThumbTIP
Removed VNHandLandmarkKeyIndexMCP
Removed VNHandLandmarkKeyIndexPIP
Removed VNHandLandmarkKeyIndexDIP
Removed VNHandLandmarkKeyIndexTIP
Removed VNHandLandmarkKeyMiddleMCP
Removed VNHandLandmarkKeyMiddlePIP
Removed VNHandLandmarkKeyMiddleDIP
Removed VNHandLandmarkKeyMiddleTIP
Removed VNHandLandmarkKeyRingMCP
Removed VNHandLandmarkKeyRingPIP
Removed VNHandLandmarkKeyRingDIP
Removed VNHandLandmarkKeyRingTIP
Removed VNHandLandmarkKeyLittleMCP
Removed VNHandLandmarkKeyLittlePIP
Removed VNHandLandmarkKeyLittleDIP
Removed VNHandLandmarkKeyLittleTIP
Removed VNHandLandmarkRegionKeyThumb
Removed VNHandLandmarkRegionKeyIndexFinger
Removed VNHandLandmarkRegionKeyMiddleFinger
Removed VNHandLandmarkRegionKeyRingFinger
Removed VNHandLandmarkRegionKeyLittleFinger
Removed +[VNDetectHumanHandPoseRequest supportedRecognizedPointKeysForRevision:error:]
Removed +[VNDetectHumanHandPoseRequest supportedRecognizedPointGroupKeysForRevision:error:]
Removed +[VNDetectHumanHandPoseRequest supportedIdentifiedPointKeysForRevision:error:]
Removed +[VNDetectHumanHandPoseRequest supportedIdentifiedPointGroupKeysForRevision:error:]
Added VNHumanHandPoseObservation.chirality
VNDetectHumanRectanglesRequest.h
Added VNDetectHumanRectanglesRequest.upperBodyOnly
Added VNDetectHumanRectanglesRequest.results
Added VNDetectHumanRectanglesRequestRevision2
VNDetectRectanglesRequest.h
Added VNDetectRectanglesRequest.results
VNDetectTextRectanglesRequest.h
Added VNDetectTextRectanglesRequest.results
VNDetectTrajectoriesRequest.h
Added VNDetectTrajectoriesRequest.targetFrameTime
VNError.h
Added VNErrorUnsupportedRequest
VNGenerateAttentionBasedSaliencyImageRequest.h
Added VNGenerateAttentionBasedSaliencyImageRequest.results
VNGenerateImageFeaturePrintRequest.h
Added VNGenerateImageFeaturePrintRequest.results
VNGenerateObjectnessBasedSaliencyImageRequest.h
Added VNGenerateObjectnessBasedSaliencyImageRequest.results
VNGenerateOpticalFlowRequest.h
Added VNGenerateOpticalFlowRequest.results
VNGeneratePersonSegmentationRequest.h
Added VNGeneratePersonSegmentationRequestQualityLevel
Added VNGeneratePersonSegmentationRequestQualityLevelAccurate
Added VNGeneratePersonSegmentationRequestQualityLevelBalanced
Added VNGeneratePersonSegmentationRequestQualityLevelFast
Added VNGeneratePersonSegmentationRequest
Added +[VNGeneratePersonSegmentationRequest new]
Added -[VNGeneratePersonSegmentationRequest init]
Added -[VNGeneratePersonSegmentationRequest initWithCompletionHandler:]
Added VNGeneratePersonSegmentationRequest.qualityLevel
Added VNGeneratePersonSegmentationRequest.outputPixelFormat
Added VNGeneratePersonSegmentationRequest.results
Added VNGeneratePersonSegmentationRequestRevision1
VNImageRegistrationRequest.h
Added VNTranslationalImageRegistrationRequest.results
Added VNHomographicImageRegistrationRequest.results
VNObservation.h
Added VNDetectedObjectObservation.globalSegmentationMask
Added +[VNFaceObservation faceObservationWithRequestRevision:boundingBox:roll:yaw:pitch:]
Added VNFaceObservation.pitch
Added VNTrajectoryObservation.movingAverageRadius
Added VNHumanObservation
Added VNHumanObservation.upperBodyOnly
Modified +[VNFaceObservation faceObservationWithRequestRevision:boundingBox:roll:yaw:]
AvailabilityReplacement
FromAvailablenone
ToDeprecated-faceObservationWithRequestRevision:boundingBox:roll:yaw:

Modified VNRecognizedText
Protocols
FromNSCopying, NSSecureCoding
ToNSCopying, NSSecureCoding, VNRequestRevisionProviding

Modified VNImageTranslationAlignmentObservation.alignmentTransform
Declaration
From@property (nonatomic, readwrite, assign) CGAffineTransform alignmentTransform
To@property (nonatomic, readonly, assign) CGAffineTransform alignmentTransform

Modified VNImageHomographicAlignmentObservation.warpTransform
Declaration
From@property (nonatomic, readwrite, assign) matrix_float3x3 warpTransform
To@property (nonatomic, readonly, assign) matrix_float3x3 warpTransform

VNRecognizeAnimalsRequest.h
Added -[VNRecognizeAnimalsRequest supportedIdentifiersAndReturnError:]
Added VNRecognizeAnimalsRequest.results
Added VNRecognizeAnimalsRequestRevision2
Modified +[VNRecognizeAnimalsRequest knownAnimalIdentifiersForRevision:error:]
AvailabilityReplacement
FromAvailablenone
ToDeprecated-supportedIdentifiersAndReturnError:

VNRecognizeTextRequest.h
Added -[VNRecognizeTextRequest supportedRecognitionLanguagesAndReturnError:]
Added VNRecognizeTextRequest.results
Modified +[VNRecognizeTextRequest supportedRecognitionLanguagesForTextRecognitionLevel:revision:error:]
AvailabilityReplacement
FromAvailablenone
ToDeprecated-supportedRecognitionLanguagesAndReturnError:

VNRequest.h
Modified VNRequest.results
Declaration
From@property (nonatomic, readonly, copy) NSArray *results
To@property (nonatomic, readonly, copy) NSArray<__kindof VNObservation *> *results

VNTypes.h
Added VNBarcodeSymbologyAztec_SwiftDeprecated
Added VNBarcodeSymbologyCode39_SwiftDeprecated
Added VNBarcodeSymbologyCode39Checksum_SwiftDeprecated
Added VNBarcodeSymbologyCode39FullASCII_SwiftDeprecated
Added VNBarcodeSymbologyCode39FullASCIIChecksum_SwiftDeprecated
Added VNBarcodeSymbologyCode93_SwiftDeprecated
Added VNBarcodeSymbologyCode93i_SwiftDeprecated
Added VNBarcodeSymbologyCode128_SwiftDeprecated
Added VNBarcodeSymbologyDataMatrix_SwiftDeprecated
Added VNBarcodeSymbologyEAN8_SwiftDeprecated
Added VNBarcodeSymbologyEAN13_SwiftDeprecated
Added VNBarcodeSymbologyI2of5_SwiftDeprecated
Added VNBarcodeSymbologyI2of5Checksum_SwiftDeprecated
Added VNBarcodeSymbologyITF14_SwiftDeprecated
Added VNBarcodeSymbologyPDF417_SwiftDeprecated
Added VNBarcodeSymbologyQR_SwiftDeprecated
Added VNBarcodeSymbologyUPCE_SwiftDeprecated
Added VNBarcodeSymbologyCodabar
Added VNBarcodeSymbologyGS1DataBar
Added VNBarcodeSymbologyGS1DataBarExpanded
Added VNBarcodeSymbologyGS1DataBarLimited
Added VNBarcodeSymbologyMicroPDF417
Added VNBarcodeSymbologyMicroQR
Added VNChirality
Added VNChiralityUnknown
Added VNChiralityLeft
Added VNChiralityRight
Modified VNVideoProcessingOption
AvailabilityReplacement
FromAvailablenone
ToDeprecatedVNVideoProcessorRequestProcessingOptions

VNUtils.h
Added VNImagePointForNormalizedPointUsingRegionOfInterest()
Added VNNormalizedPointForImagePointUsingRegionOfInterest()
Added VNImageRectForNormalizedRectUsingRegionOfInterest()
Added VNNormalizedRectForImageRectUsingRegionOfInterest()