Skip to content

Vision iOS xcode13.0 beta1

Rachel Kang edited this page Aug 24, 2021 · 3 revisions

#Vision.framework https://github.com/xamarin/xamarin-macios/pull/12460

diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNClassifyImageRequest.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNClassifyImageRequest.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNClassifyImageRequest.h	2021-03-16 08:47:49.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNClassifyImageRequest.h	2021-06-02 12:47:25.000000000 -0400
@@ -31,8 +31,22 @@
 
 	@return the collection of classifications for the revision, or nil if an error was encountered.
 */
-+ (nullable NSArray<VNClassificationObservation*>*) knownClassificationsForRevision:(NSUInteger)requestRevision error:(NSError**)error;
++ (nullable NSArray<VNClassificationObservation*>*) knownClassificationsForRevision:(NSUInteger)requestRevision error:(NSError**)error API_DEPRECATED_WITH_REPLACEMENT("-supportedIdentifiersAndReturnError:", macos(10.15, 12.0), ios(13.0, 15.0), tvos(13.0, 15.0));
 
+/*!
+	@brief Obtain the collection of identifiers supported by the target request.
+	@discussion This method will return the collection of all possible classification identifiers that are produced by the target request based on its current state of configuration at the time of the call.
+
+	@param error The address of the variable that will be populated with the error if the call fails.
+	
+	@return The collection of classification identifiers, or nil if a failure occurs.
+*/
+- (nullable NSArray<NSString*>*) supportedIdentifiersAndReturnError:(NSError**)error API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0));
+
+/*!
+	@discussion VNClassificationObservation results.
+*/
+@property (readonly, copy, nullable) NSArray<VNClassificationObservation*>* results;
 
 @end
 
@@ -42,5 +56,4 @@
 static const NSUInteger VNClassifyImageRequestRevision1 = 1;
 
 
-
 NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectBarcodesRequest.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectBarcodesRequest.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectBarcodesRequest.h	2021-03-16 08:47:50.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectBarcodesRequest.h	2021-06-02 12:47:25.000000000 -0400
@@ -6,7 +6,7 @@
 //
 
 #import <Vision/VNRequest.h>
-#import <Vision/VNTypes.h>
+#import <Vision/VNObservation.h>
 
 
 NS_ASSUME_NONNULL_BEGIN
@@ -27,19 +27,41 @@
 
 	@return An array of VNBarcodeSymbology objects describing the symbologies currently supported by the Vision framework.
 */
-@property (class, nonatomic, readonly, copy) NSArray<VNBarcodeSymbology> *supportedSymbologies;
+@property (class, nonatomic, readonly, copy) NSArray<VNBarcodeSymbology> *supportedSymbologies API_DEPRECATED_WITH_REPLACEMENT("-supportedSymbologiesAndReturnError:", macos(10.13, 12.0), ios(11.0, 15.0), tvos(11.0, 15.0));
 
 
 /*!
-	@discussion The collection of barcode symbologies that are to be detected in the image.  The default is to scan for all possible symbologies.
+    @brief Obtain the collection of barcode symbologies that can be recognized by the request in its current configuration.
+    
+    @discussion    Calling this method could be a potentially expensive operation.
+
+    @return An array of VNBarcodeSymbology objects describing the symbologies recognized by the request in its current configuration.
+*/
+- (nullable NSArray<VNBarcodeSymbology> *) supportedSymbologiesAndReturnError:(NSError**)error API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0));
+
+
+/*!
+	@discussion The collection of barcode symbologies that are to be detected in the image.  The default is to scan for all possible symbologies. Setting a revision on the request will reset the symbologies to all symbologies for the specified revision.
 */
 @property (readwrite, nonatomic, copy) NSArray<VNBarcodeSymbology> *symbologies;
 
+
+/*!
+	@discussion VNBarcodeObservation results.
+*/
+@property (readonly, copy, nullable) NSArray<VNBarcodeObservation*>* results;
+
 @end
 
 
 API_AVAILABLE(macos(10.14), ios(12.0), tvos(12.0))
 static const NSUInteger VNDetectBarcodesRequestRevision1 = 1;
 
+/*
+    @brief expands the set of detected symbologies and uses updated detection methods in comparisong revision 1
+ */
+API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0))
+static const NSUInteger VNDetectBarcodesRequestRevision2 = 2;
+
 
 NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectContoursRequest.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectContoursRequest.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectContoursRequest.h	2021-03-16 08:47:49.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectContoursRequest.h	2021-06-02 12:47:25.000000000 -0400
@@ -6,6 +6,7 @@
 //
 
 #import <Vision/VNRequest.h>
+#import <Vision/VNObservation.h>
 
 
 NS_ASSUME_NONNULL_BEGIN
@@ -20,17 +21,23 @@
 @interface VNDetectContoursRequest : VNImageBasedRequest
 
 /*!
- @brief The amount to adjust the image's contrast by. Valid values are from [0.0 ... +3.0].
+ @brief The amount to adjust the image's contrast by.
         A value of +1.0 means that the contrast is not adjusted. The default value is +2.0.
  @discussion Countour detection works best with high contrast images. The default value of 2 doubles the image's contrast to aid in detection. If the image already has a high contrast then this value should be set to 1.
 */
 @property (readwrite, nonatomic) float contrastAdjustment;
 
 /*!
+ @brief The pixel value to use as a pivot for the contrast. Valid values are from [0.0 ... +1.0], or nil to auto-detect based on image intensity.
+        The default value is +0.5 (i.e. pixel center).
+*/
+@property (readwrite, nonatomic, nullable) NSNumber * contrastPivot API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0)); 
+
+/*!
  @brief Identifies to the request if detecting a dark object on a light background, or vice versa, to aid in detection. The default value is YES.
  */
 @property (readwrite, nonatomic) BOOL detectsDarkOnLight;
-@property (readwrite, nonatomic) BOOL detectDarkOnLight API_DEPRECATED_WITH_REPLACEMENT("use detectsDarkOnLight", macos(11.0, 11.0), ios(14.0, 14.0), tvos(14.0, 14.0));
+@property (readwrite, nonatomic) BOOL detectDarkOnLight API_DEPRECATED_WITH_REPLACEMENT("-detectsDarkOnLight", macos(11.0, 11.0), ios(14.0, 14.0), tvos(14.0, 14.0));
 
 /*!
  @brief The limit on the maximum dimension of the image to be used for contour detection. Valid range of values is [64 ... NSUIntegerMax]. The default value is 512.
@@ -38,6 +45,11 @@
  */
 @property (readwrite, nonatomic) NSUInteger maximumImageDimension;
 
+/*!
+	@discussion VNContoursObservation results.
+*/
+@property (readonly, copy, nullable) NSArray<VNContoursObservation*>* results;
+
 @end
 
 
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectDocumentSegmentationRequest.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectDocumentSegmentationRequest.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectDocumentSegmentationRequest.h	1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectDocumentSegmentationRequest.h	2021-06-02 12:47:23.000000000 -0400
@@ -0,0 +1,33 @@
+//
+//  VNDetectDocumentSegmentationRequest.h
+//  Vision
+//
+//  Copyright © 2020 Apple Inc. All rights reserved.
+//
+
+#import <Vision/VNRequest.h>
+
+
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*!
+ @brief Performs document detection and segmentation in an image.
+ */
+API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0))
+@interface VNDetectDocumentSegmentationRequest : VNImageBasedRequest
+
+/*!
+    @discussion VNRectangleObservation results.
+*/
+@property (readonly, copy, nullable) NSArray<VNRectangleObservation*>* results;
+
+@end
+
+
+
+API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0))
+static const NSUInteger VNDetectDocumentSegmentationRequestRevision1 = 1;
+
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectFaceCaptureQualityRequest.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectFaceCaptureQualityRequest.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectFaceCaptureQualityRequest.h	2021-03-16 08:47:50.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectFaceCaptureQualityRequest.h	2021-06-02 12:47:25.000000000 -0400
@@ -7,6 +7,7 @@
 
 #import <Vision/VNRequest.h>
 #import <Vision/VNFaceObservationAccepting.h>
+#import <Vision/VNObservation.h>
 
 
 NS_ASSUME_NONNULL_BEGIN
@@ -22,6 +23,12 @@
  */
 API_AVAILABLE(macos(10.15), ios(13.0), tvos(13.0))
 @interface VNDetectFaceCaptureQualityRequest : VNImageBasedRequest <VNFaceObservationAccepting>
+
+/*!
+	@discussion VNFaceObservation with populated faceCaptureQuality property results.
+*/
+@property (readonly, copy, nullable) NSArray<VNFaceObservation*>* results;
+
 @end
 
 API_AVAILABLE(macos(10.15), ios(13.0), tvos(13.0))
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectFaceLandmarksRequest.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectFaceLandmarksRequest.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectFaceLandmarksRequest.h	2021-03-16 08:47:48.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectFaceLandmarksRequest.h	2021-06-02 12:47:24.000000000 -0400
@@ -7,6 +7,7 @@
 
 #import <Vision/VNRequest.h>
 #import <Vision/VNFaceObservationAccepting.h>
+#import <Vision/VNObservation.h>
 
 
 NS_ASSUME_NONNULL_BEGIN
@@ -39,6 +40,11 @@
  */
 @property (readwrite, assign) VNRequestFaceLandmarksConstellation constellation API_AVAILABLE(macos(10.15), ios(13.0), tvos(13.0));
 
+/*!
+	@discussion VNFaceObservation with populated landmarks-related properties results.
+*/
+@property (readonly, copy, nullable) NSArray<VNFaceObservation*>* results;
+
 @end
 
 
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectFaceRectanglesRequest.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectFaceRectanglesRequest.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectFaceRectanglesRequest.h	2021-03-16 08:47:48.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectFaceRectanglesRequest.h	2021-06-02 12:47:24.000000000 -0400
@@ -6,6 +6,7 @@
 //
 
 #import <Vision/VNRequest.h>
+#import <Vision/VNObservation.h>
 
 
 NS_ASSUME_NONNULL_BEGIN
@@ -18,14 +19,29 @@
 */
 API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0))
 @interface VNDetectFaceRectanglesRequest : VNImageBasedRequest
+
+/*!
+	@discussion VNFaceObservation results.
+*/
+@property (readonly, copy, nullable) NSArray<VNFaceObservation*>* results;
+
 @end
 
 
 API_AVAILABLE(macos(10.14), ios(12.0), tvos(12.0))
 static const NSUInteger VNDetectFaceRectanglesRequestRevision1 = 1;
 
+/*!
+    @brief    This request revsion can calculate face roll and yaw properties. See [VNFaceObservation -roll] and [VNFaceObservation -yaw]  respectively.
+*/
 API_AVAILABLE(macos(10.14), ios(12.0), tvos(12.0))
 static const NSUInteger VNDetectFaceRectanglesRequestRevision2 = 2;
 
+/*!
+    @brief    This request revsion 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.
+*/
+API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0))
+static const NSUInteger VNDetectFaceRectanglesRequestRevision3 = 3;
+
 
 NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectHorizonRequest.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectHorizonRequest.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectHorizonRequest.h	2021-03-16 08:47:48.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectHorizonRequest.h	2021-06-02 12:47:24.000000000 -0400
@@ -6,6 +6,7 @@
 //
 
 #import <Vision/VNRequest.h>
+#import <Vision/VNObservation.h>
 
 
 NS_ASSUME_NONNULL_BEGIN
@@ -18,6 +19,12 @@
 */
 API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0))
 @interface VNDetectHorizonRequest : VNImageBasedRequest
+
+/*!
+	@discussion VNHorizonObservation results.
+*/
+@property (readonly, copy, nullable) NSArray<VNHorizonObservation*>* results;
+
 @end
 
 
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectHumanBodyPoseRequest.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectHumanBodyPoseRequest.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectHumanBodyPoseRequest.h	2021-03-16 09:54:57.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectHumanBodyPoseRequest.h	2021-06-02 05:35:39.000000000 -0400
@@ -149,22 +149,6 @@
 API_AVAILABLE(macos(11.0), ios(14.0), tvos(14.0))
 @interface VNDetectHumanBodyPoseRequest : VNImageBasedRequest
 
-+ (nullable NSArray<VNRecognizedPointKey>*) supportedRecognizedPointKeysForRevision:(NSUInteger)revision error:(NSError **)error
-	API_DEPRECATED_WITH_REPLACEMENT("Use +supportedJointNamesForRevision:error:] instead", macos(11.0, 11.0), ios(14.0, 14.0), tvos(14.0, 14.0));
-
-+ (nullable NSArray<VNRecognizedPointGroupKey>*) supportedRecognizedPointGroupKeysForRevision:(NSUInteger)revision error:(NSError **)error
-	API_DEPRECATED_WITH_REPLACEMENT("Use +supportedJointsGroupNamesForRevision:error:] instead", macos(11.0, 11.0), ios(14.0, 14.0), tvos(14.0, 14.0));
-
-
-+ (nullable NSArray<VNRecognizedPointKey>*) supportedIdentifiedPointKeysForRevision:(NSUInteger)revision error:(NSError **)error
-	API_DEPRECATED_WITH_REPLACEMENT("Use +supportedJointNamesForRevision:error:] instead", macos(11.0, 11.0), ios(14.0, 14.0), tvos(14.0, 14.0));
-
-+ (nullable NSArray<VNRecognizedPointGroupKey>*) supportedIdentifiedPointGroupKeysForRevision:(NSUInteger)revision error:(NSError **)error
-	API_DEPRECATED_WITH_REPLACEMENT("Use +supportedJointsGroupNamesForRevision:error:] instead", macos(11.0, 11.0), ios(14.0, 14.0), tvos(14.0, 14.0));
-
-
-
-
 /*!
  @brief Obtain the collection of human body joint names that are supported by a given request revision.
  @param revision The revision of VNDetectHumanBodyPoseRequest being queried.
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectHumanHandPoseRequest.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectHumanHandPoseRequest.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectHumanHandPoseRequest.h	2021-03-16 13:56:44.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectHumanHandPoseRequest.h	2021-06-02 11:07:29.000000000 -0400
@@ -10,7 +10,6 @@
 #import <Vision/VNObservation.h>
 
 
-
 NS_ASSUME_NONNULL_BEGIN
 
 
@@ -55,45 +54,6 @@
  *                                          Wrist
  */
 
-
-VN_EXPORT VNRecognizedPointKey const VNHandLandmarkKeyWrist API_DEPRECATED_WITH_REPLACEMENT("VNHumanHandPoseObservationJointNameWrist", macos(11.0, 11.0), ios(14.0, 14.0), tvos(14.0, 14.0));
-
-VN_EXPORT VNRecognizedPointKey const VNHandLandmarkKeyThumbCMC API_DEPRECATED_WITH_REPLACEMENT("VNHumanHandPoseObservationJointNameThumbCMC", macos(11.0, 11.0), ios(14.0, 14.0), tvos(14.0, 14.0));
-VN_EXPORT VNRecognizedPointKey const VNHandLandmarkKeyThumbMP API_DEPRECATED_WITH_REPLACEMENT("VNHumanHandPoseObservationJointNameThumbMP", macos(11.0, 11.0), ios(14.0, 14.0), tvos(14.0, 14.0));
-VN_EXPORT VNRecognizedPointKey const VNHandLandmarkKeyThumbIP API_DEPRECATED_WITH_REPLACEMENT("VNHumanHandPoseObservationJointNameThumbIP", macos(11.0, 11.0), ios(14.0, 14.0), tvos(14.0, 14.0));
-VN_EXPORT VNRecognizedPointKey const VNHandLandmarkKeyThumbTIP API_DEPRECATED_WITH_REPLACEMENT("VNHumanHandPoseObservationJointNameThumbTip", macos(11.0, 11.0), ios(14.0, 14.0), tvos(14.0, 14.0));
-
-VN_EXPORT VNRecognizedPointKey const VNHandLandmarkKeyIndexMCP API_DEPRECATED_WITH_REPLACEMENT("VNHumanHandPoseObservationJointNameIndexMCP", macos(11.0, 11.0), ios(14.0, 14.0), tvos(14.0, 14.0));
-VN_EXPORT VNRecognizedPointKey const VNHandLandmarkKeyIndexPIP API_DEPRECATED_WITH_REPLACEMENT("VNHumanHandPoseObservationJointNameIndexPIP", macos(11.0, 11.0), ios(14.0, 14.0), tvos(14.0, 14.0));
-VN_EXPORT VNRecognizedPointKey const VNHandLandmarkKeyIndexDIP API_DEPRECATED_WITH_REPLACEMENT("VNHumanHandPoseObservationJointNameIndexDIP", macos(11.0, 11.0), ios(14.0, 14.0), tvos(14.0, 14.0));
-VN_EXPORT VNRecognizedPointKey const VNHandLandmarkKeyIndexTIP API_DEPRECATED_WITH_REPLACEMENT("VNHumanHandPoseObservationJointNameIndexTip", macos(11.0, 11.0), ios(14.0, 14.0), tvos(14.0, 14.0));
-
-VN_EXPORT VNRecognizedPointKey const VNHandLandmarkKeyMiddleMCP API_DEPRECATED_WITH_REPLACEMENT("VNHumanHandPoseObservationJointNameMiddleMCP", macos(11.0, 11.0), ios(14.0, 14.0), tvos(14.0, 14.0));
-VN_EXPORT VNRecognizedPointKey const VNHandLandmarkKeyMiddlePIP API_DEPRECATED_WITH_REPLACEMENT("VNHumanHandPoseObservationJointNameMiddlePIP", macos(11.0, 11.0), ios(14.0, 14.0), tvos(14.0, 14.0));
-VN_EXPORT VNRecognizedPointKey const VNHandLandmarkKeyMiddleDIP API_DEPRECATED_WITH_REPLACEMENT("VNHumanHandPoseObservationJointNameMiddleDIP", macos(11.0, 11.0), ios(14.0, 14.0), tvos(14.0, 14.0));
-VN_EXPORT VNRecognizedPointKey const VNHandLandmarkKeyMiddleTIP API_DEPRECATED_WITH_REPLACEMENT("VNHumanHandPoseObservationJointNameMiddleTip", macos(11.0, 11.0), ios(14.0, 14.0), tvos(14.0, 14.0));
-
-VN_EXPORT VNRecognizedPointKey const VNHandLandmarkKeyRingMCP API_DEPRECATED_WITH_REPLACEMENT("VNHumanHandPoseObservationJointNameRingMCP", macos(11.0, 11.0), ios(14.0, 14.0), tvos(14.0, 14.0));
-VN_EXPORT VNRecognizedPointKey const VNHandLandmarkKeyRingPIP API_DEPRECATED_WITH_REPLACEMENT("VNHumanHandPoseObservationJointNameRingPIP", macos(11.0, 11.0), ios(14.0, 14.0), tvos(14.0, 14.0));
-VN_EXPORT VNRecognizedPointKey const VNHandLandmarkKeyRingDIP API_DEPRECATED_WITH_REPLACEMENT("VNHumanHandPoseObservationJointNameRingDIP", macos(11.0, 11.0), ios(14.0, 14.0), tvos(14.0, 14.0));
-VN_EXPORT VNRecognizedPointKey const VNHandLandmarkKeyRingTIP API_DEPRECATED_WITH_REPLACEMENT("VNHumanHandPoseObservationJointNameRingTip", macos(11.0, 11.0), ios(14.0, 14.0), tvos(14.0, 14.0));
-
-VN_EXPORT VNRecognizedPointKey const VNHandLandmarkKeyLittleMCP API_DEPRECATED_WITH_REPLACEMENT("VNHumanHandPoseObservationJointNameLittleMCP", macos(11.0, 11.0), ios(14.0, 14.0), tvos(14.0, 14.0));
-VN_EXPORT VNRecognizedPointKey const VNHandLandmarkKeyLittlePIP API_DEPRECATED_WITH_REPLACEMENT("VNHumanHandPoseObservationJointNameLittlePIP", macos(11.0, 11.0), ios(14.0, 14.0), tvos(14.0, 14.0));
-VN_EXPORT VNRecognizedPointKey const VNHandLandmarkKeyLittleDIP API_DEPRECATED_WITH_REPLACEMENT("VNHumanHandPoseObservationJointNameLittleDIP", macos(11.0, 11.0), ios(14.0, 14.0), tvos(14.0, 14.0));
-VN_EXPORT VNRecognizedPointKey const VNHandLandmarkKeyLittleTIP API_DEPRECATED_WITH_REPLACEMENT("VNHumanHandPoseObservationJointNameLittleTip", macos(11.0, 11.0), ios(14.0, 14.0), tvos(14.0, 14.0));
-
-
-VN_EXPORT VNRecognizedPointGroupKey const VNHandLandmarkRegionKeyThumb API_DEPRECATED_WITH_REPLACEMENT("VNHumanHandPoseObservationJointsGroupNameThumb", macos(11.0, 11.0), ios(14.0, 14.0), tvos(14.0, 14.0));
-VN_EXPORT VNRecognizedPointGroupKey const VNHandLandmarkRegionKeyIndexFinger API_DEPRECATED_WITH_REPLACEMENT("VNHumanHandPoseObservationJointsGroupNameIndexFinger", macos(11.0, 11.0), ios(14.0, 14.0), tvos(14.0, 14.0));
-VN_EXPORT VNRecognizedPointGroupKey const VNHandLandmarkRegionKeyMiddleFinger API_DEPRECATED_WITH_REPLACEMENT("VNHumanHandPoseObservationJointsGroupNameMiddleFinger", macos(11.0, 11.0), ios(14.0, 14.0), tvos(14.0, 14.0));
-VN_EXPORT VNRecognizedPointGroupKey const VNHandLandmarkRegionKeyRingFinger API_DEPRECATED_WITH_REPLACEMENT("VNHumanHandPoseObservationJointsGroupNameRingFinger", macos(11.0, 11.0), ios(14.0, 14.0), tvos(14.0, 14.0));
-VN_EXPORT VNRecognizedPointGroupKey const VNHandLandmarkRegionKeyLittleFinger API_DEPRECATED_WITH_REPLACEMENT("VNHumanHandPoseObservationJointsGroupNameLittleFinger", macos(11.0, 11.0), ios(14.0, 14.0), tvos(14.0, 14.0));
-
-
-
-
-
 typedef VNRecognizedPointKey VNHumanHandPoseObservationJointName NS_TYPED_ENUM NS_SWIFT_NAME(VNHumanHandPoseObservation.JointName) API_AVAILABLE(macos(11.0), ios(14.0), tvos(14.0));
 
 VN_EXPORT VNHumanHandPoseObservationJointName const VNHumanHandPoseObservationJointNameWrist API_AVAILABLE(macos(11.0), ios(14.0), tvos(14.0));
@@ -135,6 +95,12 @@
 VN_EXPORT VNHumanHandPoseObservationJointsGroupName const VNHumanHandPoseObservationJointsGroupNameAll API_AVAILABLE(macos(11.0), ios(14.0), tvos(14.0));
 
 
+#define VNHumanHandPoseObservationChirality        VNChirality
+#define VNHumanHandPoseObservationChiralityUnknown VNChiralityUnknown
+#define VNHumanHandPoseObservationChiralityLeft    VNChiralityLeft
+#define VNHumanHandPoseObservationChiralityRight   VNChiralityRight
+
+
 
 API_AVAILABLE(macos(11.0), ios(14.0), tvos(14.0))
 @interface VNHumanHandPoseObservation : VNRecognizedPointsObservation
@@ -171,8 +137,12 @@
 */
 - (nullable NSDictionary<VNHumanHandPoseObservationJointName, VNRecognizedPoint*>*) recognizedPointsForJointsGroupName:(VNHumanHandPoseObservationJointsGroupName)jointsGroupName error:(NSError**)error NS_SWIFT_NAME(recognizedPoints(_:));
 
-@end
+/*!
+	@brief The chirality of the hand.
+*/
+@property (readonly) VNChirality chirality API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0));
 
+@end
 
 
 
@@ -183,23 +153,6 @@
 API_AVAILABLE(macos(11.0), ios(14.0), tvos(14.0))
 @interface VNDetectHumanHandPoseRequest : VNImageBasedRequest
 
-+ (nullable NSArray<VNRecognizedPointKey>*) supportedRecognizedPointKeysForRevision:(NSUInteger)revision error:(NSError **)error
-	API_DEPRECATED_WITH_REPLACEMENT("Use +supportedJointNamesForRevision:error:] instead", macos(11.0, 11.0), ios(14.0, 14.0), tvos(14.0, 14.0));
-
-+ (nullable NSArray<VNRecognizedPointGroupKey>*) supportedRecognizedPointGroupKeysForRevision:(NSUInteger)revision error:(NSError **)error
-	API_DEPRECATED_WITH_REPLACEMENT("Use +supportedJointsGroupNamesForRevision:error:] instead", macos(11.0, 11.0), ios(14.0, 14.0), tvos(14.0, 14.0));
-
-
-+ (nullable NSArray<VNRecognizedPointKey>*) supportedIdentifiedPointKeysForRevision:(NSUInteger)revision error:(NSError **)error
-	API_DEPRECATED_WITH_REPLACEMENT("Use +supportedJointNamesForRevision:error:] instead", macos(11.0, 11.0), ios(14.0, 14.0), tvos(14.0, 14.0));
-
-+ (nullable NSArray<VNRecognizedPointGroupKey>*) supportedIdentifiedPointGroupKeysForRevision:(NSUInteger)revision error:(NSError **)error
-	API_DEPRECATED_WITH_REPLACEMENT("Use +supportedJointsGroupNamesForRevision:error:] instead", macos(11.0, 11.0), ios(14.0, 14.0), tvos(14.0, 14.0));
-
-
-
-
-
 /*!
  @brief Obtain the collection of human hand joint names that are supported by a given request revision.
  @param revision The revision of VNDetectHumanHandPoseRequest being queried.
@@ -231,6 +184,7 @@
 @end
 
 
+
 API_AVAILABLE(macos(11.0), ios(14.0), tvos(14.0))
 static const NSUInteger VNDetectHumanHandPoseRequestRevision1 = 1;
 
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectHumanRectanglesRequest.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectHumanRectanglesRequest.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectHumanRectanglesRequest.h	2021-03-16 08:47:49.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectHumanRectanglesRequest.h	2021-06-02 12:47:25.000000000 -0400
@@ -6,23 +6,48 @@
 //
 
 #import <Vision/VNRequest.h>
+#import <Vision/VNObservation.h>
 
 
 NS_ASSUME_NONNULL_BEGIN
 
 
+@class VNHumanObservation;
+
+
 /*!
  @brief A request that will detect human Torsos in an image.
  
- @details This request will generate VNDetectedObjectObservation objects with a defined boundingBox and confidence score.
+ @details This request will generate VNHumanObservation objects with defined boundingBox and confidence score.
  */
 API_AVAILABLE(macos(10.15), ios(13.0), tvos(13.0))
 @interface VNDetectHumanRectanglesRequest : VNImageBasedRequest
+
+
+/*!
+ @brief Boolean property to specify whether the human upper body or full body needs to be detected. The default is YES, meaning the request is setup to detect upper body only
+ */
+@property(nonatomic) BOOL upperBodyOnly API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0));
+
+/*!
+	@discussion VNHumanObservation results.
+*/
+@property (readonly, copy, nullable) NSArray<VNHumanObservation*>* results;
+
 @end
 
 
+/*!
+    @brief    This request revsion can detect human upper body only
+*/
 API_AVAILABLE(macos(10.15), ios(13.0), tvos(13.0))
 static const NSUInteger VNDetectHumanRectanglesRequestRevision1 = 1;
 
+/*!
+    @brief    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
+*/
+API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0))
+static const NSUInteger VNDetectHumanRectanglesRequestRevision2 = 2;
+
 
 NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectRectanglesRequest.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectRectanglesRequest.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectRectanglesRequest.h	2021-03-16 08:47:49.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectRectanglesRequest.h	2021-06-02 12:47:24.000000000 -0400
@@ -6,7 +6,7 @@
 //
 
 #import <Vision/VNRequest.h>
-#import <Vision/VNTypes.h>
+#import <Vision/VNObservation.h>
 
 
 NS_ASSUME_NONNULL_BEGIN
@@ -51,6 +51,11 @@
 @property (readwrite, nonatomic, assign) NSUInteger maximumObservations;
 
 
+/*!
+	@discussion VNRectangleObservation results.
+*/
+@property (readonly, copy, nullable) NSArray<VNRectangleObservation*>* results;
+
 @end
 
 
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectTextRectanglesRequest.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectTextRectanglesRequest.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectTextRectanglesRequest.h	2021-03-16 08:47:49.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectTextRectanglesRequest.h	2021-06-02 12:47:25.000000000 -0400
@@ -6,6 +6,7 @@
 //
 
 #import <Vision/VNRequest.h>
+#import <Vision/VNObservation.h>
 
 
 NS_ASSUME_NONNULL_BEGIN
@@ -24,6 +25,11 @@
 */
 @property (readwrite, nonatomic, assign) BOOL reportCharacterBoxes;
 
+/*!
+	@discussion VNTextObservation results.
+*/
+@property (readonly, copy, nullable) NSArray<VNTextObservation*>* results;
+
 @end
 
 
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectTrajectoriesRequest.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectTrajectoriesRequest.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectTrajectoriesRequest.h	2021-03-16 08:47:49.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectTrajectoriesRequest.h	2021-06-02 12:44:26.000000000 -0400
@@ -6,10 +6,7 @@
 //
 
 #import <Vision/VNStatefulRequest.h>
-
-
-
-@class VNTrajectoryObservation;
+#import <Vision/VNObservation.h>
 
 
 NS_ASSUME_NONNULL_BEGIN
@@ -46,13 +43,18 @@
  @brief Specifies the minimum radius of the bounding circle of the object to be tracked. This can be used to filter out noise and small objects. The default is 0.0, which means no filtering is applied. Changing the property from frame to frame can produce eratic trajectories as objects will either disappear or be added to the tracking base on this filtering. The value is specified in normalized coordinates.
  */
 @property (readwrite, nonatomic, assign) float objectMinimumNormalizedRadius;
-@property (readwrite, nonatomic, assign) float minimumObjectSize API_DEPRECATED_WITH_REPLACEMENT("use objectMinimumNormalizedRadius", macos(11.0, 11.0), ios(14.0, 14.0), tvos(14.0, 14.0));
+@property (readwrite, nonatomic, assign) float minimumObjectSize API_DEPRECATED_WITH_REPLACEMENT("-objectMinimumNormalizedRadius", macos(11.0, 11.0), ios(14.0, 14.0), tvos(14.0, 14.0));
 
 /*!
  @brief Specifies the maximum radius of the bounding circle of the object to be tracked. This can be used to filter out unwanted trajectories from larger objects moving through the scene. The default is 1.0, which means no filtering is applied. Changing the maximum from frame to frame can produce eratic trajectories as objects will either disappear or be added to the tracking base on this filtering. The size is specified in normalized coordinates.
  */
 @property (readwrite, nonatomic, assign) float objectMaximumNormalizedRadius;
-@property (readwrite, nonatomic, assign) float maximumObjectSize API_DEPRECATED_WITH_REPLACEMENT("use objectMaximumNormalizedRadius", macos(11.0, 11.0), ios(14.0, 14.0), tvos(14.0, 14.0));
+@property (readwrite, nonatomic, assign) float maximumObjectSize API_DEPRECATED_WITH_REPLACEMENT("-objectMaximumNormalizedRadius", macos(11.0, 11.0), ios(14.0, 14.0), tvos(14.0, 14.0));
+
+/*!
+ @brief Specifies the desired target frame time for processing trajectory detection. This can be used for real-time processing of frames, which requires execution with a specific amount of time. The target frame time is evaluated from frame-to-frame. If processing takes longer than this target frame time for the currect frame, it will attempt to reduce the amount of time taken by reducing the accuracy (down to a set minimum) for the next frame. If a frame takes less time than this target, then accuracy of the next frame will be increased (up to a set maximum). The default value is kCMTimeIndefinite, meaning accuracy stays at the predefined maximum.
+ */
+@property (readwrite, nonatomic, assign) CMTime targetFrameTime API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0));
 
 /*!
  @brief Provides VNTrajectoryObservation results.
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNError.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNError.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNError.h	2021-03-16 08:47:49.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNError.h	2021-06-02 12:47:24.000000000 -0400
@@ -31,5 +31,6 @@
     VNErrorInvalidModel,
     VNErrorUnsupportedRevision API_AVAILABLE(macos(10.14), ios(12.0), tvos(12.0)),
     VNErrorDataUnavailable  API_AVAILABLE(macos(10.15), ios(13.0), tvos(13.0)),
-    VNErrorTimeStampNotFound  API_AVAILABLE(macos(11.0), ios(14.0), tvos(14.0))
+    VNErrorTimeStampNotFound  API_AVAILABLE(macos(11.0), ios(14.0), tvos(14.0)),
+    VNErrorUnsupportedRequest  API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0))
 };
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNFaceLandmarks.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNFaceLandmarks.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNFaceLandmarks.h	2021-03-16 09:54:55.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNFaceLandmarks.h	2021-06-02 11:07:27.000000000 -0400
@@ -19,12 +19,13 @@
 
 /*!
  @class VNFaceLandmarkRegion
- @brief VNFaceLandmarkRegion the 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.
+ @brief 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.
  */
 
 API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0))
 @interface VNFaceLandmarkRegion : NSObject<NSCopying, NSSecureCoding, VNRequestRevisionProviding>
 
++ (instancetype) new NS_UNAVAILABLE;
 - (instancetype) init NS_UNAVAILABLE;
 
 /*!
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNGenerateAttentionBasedSaliencyImageRequest.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNGenerateAttentionBasedSaliencyImageRequest.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNGenerateAttentionBasedSaliencyImageRequest.h	2021-03-16 08:47:48.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNGenerateAttentionBasedSaliencyImageRequest.h	2021-06-02 12:47:24.000000000 -0400
@@ -5,8 +5,8 @@
 //  Copyright © 2018 Apple Inc. All rights reserved.
 //
 
-#import <Foundation/Foundation.h>
 #import <Vision/VNRequest.h>
+#import <Vision/VNObservation.h>
 
 
 NS_ASSUME_NONNULL_BEGIN
@@ -18,6 +18,13 @@
 */
 API_AVAILABLE(macos(10.15), ios(13.0), tvos(13.0))
 @interface VNGenerateAttentionBasedSaliencyImageRequest : VNImageBasedRequest
+
+
+/*!
+	@discussion VNSaliencyImageObservation results.
+*/
+@property (readonly, copy, nullable) NSArray<VNSaliencyImageObservation*>* results;
+
 @end
 
 
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNGenerateImageFeaturePrintRequest.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNGenerateImageFeaturePrintRequest.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNGenerateImageFeaturePrintRequest.h	2021-03-16 08:47:49.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNGenerateImageFeaturePrintRequest.h	2021-06-02 12:47:24.000000000 -0400
@@ -5,10 +5,8 @@
 //  Copyright © 2019 Apple Inc. All rights reserved.
 //
 
-#import <Foundation/Foundation.h>
-
-#import <Vision/VNTypes.h>
 #import <Vision/VNRequest.h>
+#import <Vision/VNObservation.h>
 
 
 NS_ASSUME_NONNULL_BEGIN
@@ -29,6 +27,12 @@
 */
 @property (nonatomic, readwrite, assign) VNImageCropAndScaleOption imageCropAndScaleOption;
 
+
+/*!
+	@discussion VNFeaturePrintObservation results.
+*/
+@property (readonly, copy, nullable) NSArray<VNFeaturePrintObservation*>* results;
+
 @end
 
 
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNGenerateObjectnessBasedSaliencyImageRequest.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNGenerateObjectnessBasedSaliencyImageRequest.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNGenerateObjectnessBasedSaliencyImageRequest.h	2021-03-16 08:47:49.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNGenerateObjectnessBasedSaliencyImageRequest.h	2021-06-02 12:47:24.000000000 -0400
@@ -5,8 +5,8 @@
 //  Copyright © 2018 Apple Inc. All rights reserved.
 //
 
-#import <Foundation/Foundation.h>
 #import <Vision/VNRequest.h>
+#import <Vision/VNObservation.h>
 
 
 NS_ASSUME_NONNULL_BEGIN
@@ -17,9 +17,17 @@
  */
 API_AVAILABLE(macos(10.15), ios(13.0), tvos(13.0))
 @interface VNGenerateObjectnessBasedSaliencyImageRequest : VNImageBasedRequest
+
+/*!
+	@discussion VNSaliencyImageObservation results.
+*/
+@property (readonly, copy, nullable) NSArray<VNSaliencyImageObservation*>* results;
+
 @end
 
+
 API_AVAILABLE(macos(10.15), ios(13.0), tvos(13.0))
 static const NSUInteger VNGenerateObjectnessBasedSaliencyImageRequestRevision1 = 1;
 
+
 NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNGenerateOpticalFlowRequest.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNGenerateOpticalFlowRequest.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNGenerateOpticalFlowRequest.h	2021-03-16 08:47:49.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNGenerateOpticalFlowRequest.h	2021-06-02 12:47:25.000000000 -0400
@@ -6,6 +6,7 @@
 //
 
 #import <Vision/VNTargetedImageRequest.h>
+#import <Vision/VNObservation.h>
 
 
 NS_ASSUME_NONNULL_BEGIN
@@ -65,8 +66,15 @@
  */
 @property (readwrite, nonatomic) OSType outputPixelFormat;
 
+
+/*!
+	@discussion VNPixelBufferObservation results.
+*/
+@property (readonly, copy, nullable) NSArray<VNPixelBufferObservation*>* results;
+
 @end
 
+
 API_AVAILABLE(macos(11.0), ios(14.0), tvos(14.0))
 static const NSUInteger VNGenerateOpticalFlowRequestRevision1 = 1;
 
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNGeneratePersonSegmentationRequest.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNGeneratePersonSegmentationRequest.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNGeneratePersonSegmentationRequest.h	1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNGeneratePersonSegmentationRequest.h	2021-06-02 12:47:25.000000000 -0400
@@ -0,0 +1,61 @@
+//
+//  VNGeneratePersonSegmentationRequest.h
+//  Vision
+//
+//  Copyright © 2020 Apple Inc. All rights reserved.
+//
+
+#import <Vision/VNObservation.h>
+#import <Vision/VNStatefulRequest.h>
+
+
+NS_ASSUME_NONNULL_BEGIN
+
+
+/*!
+ @brief     Person segmentation level options to favor speed over recognition accuracy.
+            VNPersonSegmentationRequestLevelAccurate is the default option.
+ @details   fast - generates a low accuracy segmentation mask that can be used in streaming scenarios on devices that have a neural engine
+            balanced - generates a high accuracy segmentation mask
+            accurate - generates a mask based on the balanced output that includes matting refinement
+            The request may hold on to previous masks to improve temporal stability.
+ */
+typedef NS_ENUM(NSUInteger, VNGeneratePersonSegmentationRequestQualityLevel)
+{
+    VNGeneratePersonSegmentationRequestQualityLevelAccurate = 0,
+    VNGeneratePersonSegmentationRequestQualityLevelBalanced,
+    VNGeneratePersonSegmentationRequestQualityLevelFast,
+}  NS_SWIFT_NAME(VNGeneratePersonSegmentationRequest.QualityLevel);
+
+/*!
+ @brief Performs person segmentationin an image.
+ */
+API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0))
+@interface VNGeneratePersonSegmentationRequest : VNStatefulRequest
+
++ (instancetype) new;
+- (instancetype) init;
+- (instancetype) initWithCompletionHandler:(nullable VNRequestCompletionHandler)completionHandler;
+- (instancetype) initWithFrameAnalysisSpacing:(CMTime)frameAnalysisSpacing
+                            completionHandler:(nullable VNRequestCompletionHandler)completionHandler NS_UNAVAILABLE;
+
+/*!
+ @brief The quality level selects which techniques will be used during the person segmentation. There are trade-offs between performance and accuracy.
+ */
+@property (readwrite, nonatomic, assign) VNGeneratePersonSegmentationRequestQualityLevel qualityLevel;
+
+/*!
+ @brief Pixel format type of the output buffer. Valid values are kCVPixelFormatType_OneComponent32Float, kCVPixelFormatType_OneComponent16Half, and kCVPixelFormatType_OneComponent8. Default is kCVPixelFormatType_OneComponent8.
+ */
+@property (readwrite, nonatomic) OSType outputPixelFormat;
+
+@property (readonly, copy, nullable) NSArray<VNPixelBufferObservation *> * results;
+
+@end
+
+
+API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0))
+static const NSUInteger VNGeneratePersonSegmentationRequestRevision1 = 1;
+
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNGeometry.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNGeometry.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNGeometry.h	2021-03-16 13:58:55.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNGeometry.h	2021-06-02 11:07:28.000000000 -0400
@@ -44,7 +44,7 @@
 /*!
 @brief Returns the Euclidean distance between two VNPoint objects.
 */
-+ (double)distanceBetweenPoint:(VNPoint*)point1 point:(VNPoint*)point2 NS_SWIFT_NAME(distance(_:_:)) API_DEPRECATED_WITH_REPLACEMENT("use -distanceToPoint:", macos(11.0, 11.0), ios(14.0, 14.0), tvos(14.0, 14.0));
++ (double)distanceBetweenPoint:(VNPoint*)point1 point:(VNPoint*)point2 NS_SWIFT_NAME(distance(_:_:)) API_DEPRECATED_WITH_REPLACEMENT("-distanceToPoint:", macos(11.0, 11.0), ios(14.0, 14.0), tvos(14.0, 14.0));
 
 /*!
 @brief Returns the Euclidean distance to another point.
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNImageRegistrationRequest.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNImageRegistrationRequest.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNImageRegistrationRequest.h	2021-03-16 08:47:48.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNImageRegistrationRequest.h	2021-06-02 12:47:24.000000000 -0400
@@ -29,6 +29,12 @@
 */
 API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0))
 @interface VNTranslationalImageRegistrationRequest : VNImageRegistrationRequest
+
+/*!
+	@discussion VNImageTranslationAlignmentObservation results.
+*/
+@property (readonly, copy, nullable) NSArray<VNImageTranslationAlignmentObservation*>* results;
+
 @end
 
 
@@ -45,6 +51,12 @@
 */
 API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0))
 @interface VNHomographicImageRegistrationRequest : VNImageRegistrationRequest
+
+/*!
+	@discussion VNImageHomographicAlignmentObservation results.
+*/
+@property (readonly, copy, nullable) NSArray<VNImageHomographicAlignmentObservation*>* results;
+
 @end
 
 
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNObservation.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNObservation.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNObservation.h	2021-03-16 13:56:42.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNObservation.h	2021-06-02 11:07:27.000000000 -0400
@@ -28,6 +28,7 @@
 @class CIBarcodeDescriptor;
 @class MLFeatureValue;
 @class VNFaceLandmarks2D;
+@class VNPixelBufferObservation;
 
 
 /*!
@@ -79,14 +80,19 @@
  */
 @property (readonly, nonatomic, assign) CGRect boundingBox;
 
+/*!
+ @brief The resulting CVPixelBuffer from requests that generate a segmentation mask for the entire image.
+ */
+@property (readonly, nonatomic, nullable) VNPixelBufferObservation * globalSegmentationMask API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0));
+
 @end
 
 
 /*!
  @class VNFaceObservation
- @superclass VNObservation
+ @superclass VNDetectedObjectObservation
  @brief VNFaceObservation is the result of a face detection request or derivatives like a face landmark request.
- @discussion The properties filled in this obervation depend on the request being performed. For instance if just a VNDetectFaceRectanglesRequest was performed the landmarks will not be populated. VNFaceObservation are also used as inputs to other request as defined by the VNFaceObservationAccepting protocol. An example would be the VNDetectFaceLandmarksRequest. This can be helpful for instance if the face rectangles in an image are not derived from a VNDetectFaceRectanglesRequest but instead come from other sources like EXIF or other face detectors. In that case the client of the API creates a VNFaceObservation with the boundingBox (in normalized coordinates) that were based on those detected faces.
+ @discussion The properties filled in this obervation depend on the request being performed. For instance, if just a VNDetectFaceRectanglesRequest was performed the landmarks will not be populated. VNFaceObservation are also used as inputs to other request as defined by the VNFaceObservationAccepting protocol. An example would be the VNDetectFaceLandmarksRequest. This can be helpful for instance if the face rectangles in an image are not derived from a VNDetectFaceRectanglesRequest but instead come from other sources like EXIF or other face detectors. In that case the client of the API creates a VNFaceObservation with the boundingBox (in normalized coordinates) that were based on those detected faces.
  
  */
 API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0))
@@ -95,11 +101,12 @@
 /*!
  @brief Create a new VNFaceObservation with a normalized bounding box, roll and yaw.
  @param requestRevision The revision of the VNDetectFaceRectanglesRequest that provided the bounding box.  If this observation is being created with data that did not originate from a Vision request, this parameter should be VNRequestRevisionUnspecified.
- @param roll The roll angle of the face, reported in radians.  A positive angle corresponds to counterclockwise direction, range [-Pi, Pi). If no roll information is avilable, this parameter should be nil.
- @param yaw The yaw angle of the face, reported in radians.  A positive angle corresponds to counterclockwise direction, range [-Pi/2, Pi/2). If no yaw information is avilable, this parameter should be nil.
+ @param roll The roll angle of the face, reported in radians.  A positive angle corresponds to counterclockwise direction, range [-Pi, Pi). If no roll information is available, this parameter should be nil.
+ @param yaw The yaw angle of the face, reported in radians.  A positive angle corresponds to counterclockwise direction, range [-Pi/2, Pi/2). If no yaw information is available, this parameter should be nil.
+ @param pitch The pitch angle of the face, reported in radians.  A positive angle corresponds to nodding head down direction, range [-Pi/2, Pi/2]. If no pitch information is available, this parameter should be nil.
  */
-+ (instancetype)faceObservationWithRequestRevision:(NSUInteger)requestRevision boundingBox:(CGRect)boundingBox roll:(nullable NSNumber *)roll yaw:(nullable NSNumber *)yaw API_AVAILABLE(macos(10.14), ios(12.0), tvos(12.0));
-
++ (instancetype)faceObservationWithRequestRevision:(NSUInteger)requestRevision boundingBox:(CGRect)boundingBox roll:(nullable NSNumber *)roll yaw:(nullable NSNumber *)yaw API_DEPRECATED_WITH_REPLACEMENT("-faceObservationWithRequestRevision:boundingBox:roll:yaw:", macos(10.14, 12.0), ios(12.0, 15.0), tvos(12.0, 15.0));
++ (instancetype)faceObservationWithRequestRevision:(NSUInteger)requestRevision boundingBox:(CGRect)boundingBox roll:(nullable NSNumber *)roll yaw:(nullable NSNumber *)yaw pitch:(nullable NSNumber *)pitch API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0));
 /*!
  @brief The face landmarks populated by the VNDetectFaceLandmarksRequest. This is set to nil if only a VNDetectFaceRectanglesRequest was performed.
  */
@@ -116,10 +123,16 @@
 @property (readonly, nonatomic, strong, nullable) NSNumber *roll API_AVAILABLE(macos(10.14), ios(12.0), tvos(12.0));
 
 /*!
- @brief Face yaw angle populated by VNDetectFaceRectanglesRequest. The yaw is reported in radians, positive angle corresponds to counterclockwise direction, range [-Pi/2, Pi/2). nil value indicates that the yaw angle hasn't been computed
+ @brief Face yaw angle populated by VNDetectFaceRectanglesRequest. The yaw is reported in radians, positive angle corresponds to counterclockwise direction, range [-Pi/2, Pi/2]. nil value indicates that the yaw angle hasn't been computed
  */
 @property (readonly, nonatomic, strong, nullable) NSNumber *yaw API_AVAILABLE(macos(10.14), ios(12.0), tvos(12.0));
 
+/*!
+ @brief Face pitch angle populated by VNDetectFaceRectanglesRequest. The pitch is reported in radians, positive angle corresponds to nodding head down direction, range [-Pi/2, Pi/2]. nil value indicates that the pitch angle hasn't been computed
+ */
+@property (readonly, nonatomic, strong, nullable) NSNumber *pitch API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0));
+
+
 @end
 
 /*!
@@ -287,6 +300,13 @@
 */
 @property (readonly, nonatomic) simd_float3 equationCoefficients;
 
+/*!
+@brief The moving average radius of the object being tracked.
+@details This is the radius of the object at each detected point (used to determine the trajectory) averaged.
+*/
+@property (readonly, nonatomic, assign) CGFloat movingAverageRadius API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0));
+
+
 @end
 
 
@@ -300,7 +320,7 @@
 
 /*!
 	@brief		Array of individual character bounding boxes found within the observation's boundingBox.
-	@discussion	If the associated request indicated that it is interested in character boxes by setting the VNRequestOptionReportCharacterBoxes option to @YES, this property will be non-nil (but may still be empty, depending on the detection results).
+	@discussion	If the associated request indicated that it is interested in character boxes by setting the VNDetectTextRectanglesRequest reportCharacterBoxes property to @YES, this property will be non-nil (but may still be empty, depending on the detection results).
 */
 @property (readonly, nonatomic, copy, nullable) NSArray<VNRectangleObservation *> *characterBoxes;
 
@@ -311,7 +331,7 @@
  @brief VNRecognizedText A block of recognized text. There can be multiple VNRecognizedText objects returned in a VNRecognizedTextObservation - one for each candidate.
  */
 API_AVAILABLE(macos(10.15), ios(13.0), tvos(13.0))
-@interface VNRecognizedText : NSObject < NSCopying, NSSecureCoding >
+@interface VNRecognizedText : NSObject < NSCopying, NSSecureCoding, VNRequestRevisionProviding>
 
 /*!
  @brief        Field that contains recognized text.
@@ -413,7 +433,9 @@
 */
 API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0))
 @interface VNImageTranslationAlignmentObservation : VNImageAlignmentObservation
-@property (readwrite, nonatomic, assign) CGAffineTransform alignmentTransform;
+
+@property (readonly, nonatomic, assign) CGAffineTransform alignmentTransform;
+
 @end
 
 
@@ -424,7 +446,9 @@
 */
 API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0))
 @interface VNImageHomographicAlignmentObservation : VNImageAlignmentObservation
-@property (readwrite, nonatomic, assign) matrix_float3x3 warpTransform;
+
+@property (readonly, nonatomic, assign) matrix_float3x3 warpTransform;
+
 @end
 
 /*!
@@ -612,6 +636,20 @@
 @end
 
 
+/*!
+ @class VNHumanObservation
+ @superclass VNDetectedObjectObservation
+ @brief VNHumanObservation is the result of a Human rectangles detection request
+  */
+API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0))
+@interface VNHumanObservation : VNDetectedObjectObservation
+
+/*!
+ @brief Boolean property to specify whether the human upper body or full body detection is recorded in the observation. This setting is propagated from [VNDetectHumanRectanglesRequest -upperBodyOnly]
+ */
+@property(readonly, nonatomic) BOOL upperBodyOnly API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0));
+
+@end
 
 
 NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNRecognizeAnimalsRequest.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNRecognizeAnimalsRequest.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNRecognizeAnimalsRequest.h	2021-03-16 08:47:48.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNRecognizeAnimalsRequest.h	2021-06-02 12:47:23.000000000 -0400
@@ -6,7 +6,7 @@
 //
 
 #import <Vision/VNRequest.h>
-#import <Vision/VNDefines.h>
+#import <Vision/VNObservation.h>
 
 
 NS_ASSUME_NONNULL_BEGIN
@@ -19,7 +19,7 @@
 
 
 /*!
-	@brief A request that will recognize various animals in an image. The list of animals supported by the recognition algorithm can be queried by +(NSArray *)knownAnimalIdentifiersForRevision
+	@brief A request that will recognize various animals in an image. The list of animals supported by the recognition algorithm can be queried by  -supportedIdentifiersAndReturnError:
 
 	@details This request will generate VNRecognizedObjectObservation objects with a defined boundingBox, label and confidence level.
 */
@@ -31,7 +31,22 @@
  
  @details This request will generate a collection of names for supported animals by current recognition algorithm.
  */
-+ (nullable NSArray<VNAnimalIdentifier> *)knownAnimalIdentifiersForRevision:(NSUInteger)requestRevision error:(NSError **)error;
++ (nullable NSArray<VNAnimalIdentifier> *)knownAnimalIdentifiersForRevision:(NSUInteger)requestRevision error:(NSError **)error API_DEPRECATED_WITH_REPLACEMENT("-supportedIdentifiersAndReturnError:", macos(10.15, 12.0), ios(13.0, 15.0), tvos(13.0, 15.0));
+
+/*!
+    @brief Obtain the collection of identifiers supported by the target request.
+    @discussion This method will return the collection of all possible classification identifiers that are produced by the target request based on its current state of configuration at the time of the call.
+
+    @param error The address of the variable that will be populated with the error if the call fails.
+    
+    @return The collection of classification identifiers, or nil if a failure occurs.
+*/
+- (nullable NSArray<VNAnimalIdentifier>*) supportedIdentifiersAndReturnError:(NSError**)error API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0));
+
+/*!
+	@discussion VNRecognizedObjectObservation results.
+*/
+@property (readonly, copy, nullable) NSArray<VNRecognizedObjectObservation*>* results;
 
 @end
 
@@ -39,5 +54,8 @@
 API_AVAILABLE(macos(10.15), ios(13.0), tvos(13.0))
 static const NSUInteger VNRecognizeAnimalsRequestRevision1 = 1;
 
+API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0))
+static const NSUInteger VNRecognizeAnimalsRequestRevision2 = 2;
+
 
 NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNRecognizeTextRequest.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNRecognizeTextRequest.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNRecognizeTextRequest.h	2021-03-16 08:47:49.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNRecognizeTextRequest.h	2021-06-02 12:47:24.000000000 -0400
@@ -6,6 +6,7 @@
 //
 
 #import <Vision/VNRequest.h>
+#import <Vision/VNObservation.h>
 
 
 NS_ASSUME_NONNULL_BEGIN
@@ -32,7 +33,19 @@
 /*!
  @brief Returns all the supported languages for a given text recognition level. Note that a language supported in one recognition level might not be available in another.
  */
-+ (nullable NSArray<NSString *> *)supportedRecognitionLanguagesForTextRecognitionLevel:(VNRequestTextRecognitionLevel)recognitionLevel revision:(NSUInteger)requestRevision error:(NSError**)error;
++ (nullable NSArray<NSString *> *)supportedRecognitionLanguagesForTextRecognitionLevel:(VNRequestTextRecognitionLevel)recognitionLevel revision:(NSUInteger)requestRevision error:(NSError**)error API_DEPRECATED_WITH_REPLACEMENT("-supportedRecognitionLanguagesAndReturnError:", macos(10.15, 12.0), ios(13.0, 15.0), tvos(13.0, 15.0));
+
+
+/*!
+ @brief Obtain the collection of supported recognition languages.
+ @discussion This method will return the collection of all possible language identifiers that are recognized by the target request based on its current state of configuration at the time of the call.
+
+ @param error The address of the variable that will be populated with the error if the call fails.
+
+ @return The collection of language identifiers, or nil if a failure occurs.
+ */
+- (nullable NSArray<NSString *> *)supportedRecognitionLanguagesAndReturnError:(NSError**)error API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0));
+
 
 /*!
  @brief Specify the languages used for the detection. The order of the languages in the array defines the order in which languages will be used during the language processing.
@@ -61,13 +74,17 @@
 @property (readwrite, nonatomic, assign) float minimumTextHeight;
 
 
+/*!
+	@discussion VNRecognizedTextObservation results.
+*/
+@property (readonly, copy, nullable) NSArray<VNRecognizedTextObservation*>* results;
 
 @end
 
+
 /*
  @brief VNRecognizeTextRequestRevision1 only supports English
  */
-
 API_AVAILABLE(macos(10.15), ios(13.0), tvos(13.0))
 static const NSUInteger VNRecognizeTextRequestRevision1 = 1;
 
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNRequest.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNRequest.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNRequest.h	2021-03-16 13:58:55.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNRequest.h	2021-06-02 05:35:39.000000000 -0400
@@ -9,6 +9,8 @@
 #import <CoreGraphics/CoreGraphics.h>
 #import <Metal/Metal.h>
 
+#import <Vision/VNObservation.h>
+
 
 NS_ASSUME_NONNULL_BEGIN
 
@@ -66,7 +68,7 @@
  @abstract The collection of VNObservations generated by the processing of the request.
  @discussion The only valid time to access this property is after the request has been processed by a request handler.  If the request failed, this property will be nil; otherwise, it will be an array of zero or more VNObservation subclasses specific to the VNRequest subclass.
  */
-@property (readonly, nonatomic, copy, nullable) NSArray *results;
+@property (readonly, nonatomic, copy, nullable) NSArray<__kindof VNObservation*>* results;
 
 
 /*!
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNStatefulRequest.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNStatefulRequest.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNStatefulRequest.h	2021-03-16 08:47:49.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNStatefulRequest.h	2021-06-02 12:47:24.000000000 -0400
@@ -42,7 +42,7 @@
  @discussion The request will not process buffers that fall within the requestFrameAnalysisSpacing after it has performed the analysis. The analysis is not done by wall time but by analysis of of the time stamps of the samplebuffers being processed.
  */
 @property (readonly) CMTime frameAnalysisSpacing;
-@property (readonly) CMTime requestFrameAnalysisSpacing API_DEPRECATED_WITH_REPLACEMENT("use frameAnalysisSpacing", macos(11.0, 11.0), ios(14.0, 14.0), tvos(14.0, 14.0));
+@property (readonly) CMTime requestFrameAnalysisSpacing API_DEPRECATED_WITH_REPLACEMENT("-frameAnalysisSpacing", macos(11.0, 11.0), ios(14.0, 14.0), tvos(14.0, 14.0));
 
 @end
 
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNTargetedImageRequest.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNTargetedImageRequest.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNTargetedImageRequest.h	2021-03-16 08:44:57.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNTargetedImageRequest.h	2021-06-02 11:07:28.000000000 -0400
@@ -37,7 +37,7 @@
 	@param	pixelBuffer			The pixel buffer containing the targeted image.
 	@param	options				A dictionary with options specifying auxiliary information for the image.
 */
-- (instancetype) initWithTargetedCVPixelBuffer:(CVPixelBufferRef)pixelBuffer options:(NSDictionary<VNImageOption, id> *)options;
+- (instancetype) initWithTargetedCVPixelBuffer:(CVPixelBufferRef)pixelBuffer options:(NSDictionary<VNImageOption, id> *)options NS_SWIFT_UNAVAILABLE("");
 
 
 /*!
@@ -57,7 +57,7 @@
 	@param	orientation			The orientation of the image/buffer based on the EXIF specification. For details see kCGImagePropertyOrientation. The value has to be an integer from 1 to 8. This supersedes every other orientation information.
 	@param	options				A dictionary with options specifying auxiliary information for the image.
 */
-- (instancetype) initWithTargetedCVPixelBuffer:(CVPixelBufferRef)pixelBuffer orientation:(CGImagePropertyOrientation)orientation options:(NSDictionary<VNImageOption, id> *)options;
+- (instancetype) initWithTargetedCVPixelBuffer:(CVPixelBufferRef)pixelBuffer orientation:(CGImagePropertyOrientation)orientation options:(NSDictionary<VNImageOption, id> *)options NS_SWIFT_UNAVAILABLE("");
 
 
 /*!
@@ -82,7 +82,7 @@
 	@param	cgImage				The CGImageRef of the targeted image.
 	@param	options				A dictionary with options specifying auxiliary information for the image.
 */
-- (instancetype) initWithTargetedCGImage:(CGImageRef)cgImage options:(NSDictionary<VNImageOption, id> *)options;
+- (instancetype) initWithTargetedCGImage:(CGImageRef)cgImage options:(NSDictionary<VNImageOption, id> *)options NS_SWIFT_UNAVAILABLE("");
 
 
 /*!
@@ -102,7 +102,7 @@
 	@param	orientation			The orientation of the image/buffer based on the EXIF specification. For details see kCGImagePropertyOrientation. The value has to be an integer from 1 to 8. This supersedes every other orientation information.
 	@param	options				A dictionary with options specifying auxiliary information for the image.
 */
-- (instancetype) initWithTargetedCGImage:(CGImageRef)cgImage orientation:(CGImagePropertyOrientation)orientation options:(NSDictionary<VNImageOption, id> *)options;
+- (instancetype) initWithTargetedCGImage:(CGImageRef)cgImage orientation:(CGImagePropertyOrientation)orientation options:(NSDictionary<VNImageOption, id> *)options NS_SWIFT_UNAVAILABLE("");
 
 
 /*!
@@ -127,7 +127,7 @@
 	@param	ciImage				The CIImage of the targeted image.
 	@param	options				A dictionary with options specifying auxiliary information for the image.
 */
-- (instancetype) initWithTargetedCIImage:(CIImage *)ciImage options:(NSDictionary<VNImageOption, id> *)options;
+- (instancetype) initWithTargetedCIImage:(CIImage *)ciImage options:(NSDictionary<VNImageOption, id> *)options NS_SWIFT_UNAVAILABLE("");
 
 
 /*!
@@ -147,7 +147,7 @@
 	@param	orientation			The orientation of the image/buffer based on the EXIF specification. For details see kCGImagePropertyOrientation. The value has to be an integer from 1 to 8. This supersedes every other orientation information.
 	@param	options				A dictionary with options specifying auxiliary information for the image.
 */
-- (instancetype) initWithTargetedCIImage:(CIImage *)ciImage orientation:(CGImagePropertyOrientation)orientation options:(NSDictionary<VNImageOption, id> *)options;
+- (instancetype) initWithTargetedCIImage:(CIImage *)ciImage orientation:(CGImagePropertyOrientation)orientation options:(NSDictionary<VNImageOption, id> *)options NS_SWIFT_UNAVAILABLE("");
 
 
 /*!
@@ -172,7 +172,7 @@
 	@param	imageURL			The URL of the targeted image.
 	@param	options				A dictionary with options specifying auxiliary information for the image.
 */
-- (instancetype) initWithTargetedImageURL:(NSURL *)imageURL options:(NSDictionary<VNImageOption, id> *)options;
+- (instancetype) initWithTargetedImageURL:(NSURL *)imageURL options:(NSDictionary<VNImageOption, id> *)options NS_SWIFT_UNAVAILABLE("");
 
 
 /*!
@@ -192,7 +192,7 @@
 	@param	orientation			The orientation of the image/buffer based on the EXIF specification. For details see kCGImagePropertyOrientation. The value has to be an integer from 1 to 8. This supersedes every other orientation information.
 	@param	options				A dictionary with options specifying auxiliary information for the image.
 */
-- (instancetype) initWithTargetedImageURL:(NSURL *)imageURL orientation:(CGImagePropertyOrientation)orientation options:(NSDictionary<VNImageOption, id> *)options;
+- (instancetype) initWithTargetedImageURL:(NSURL *)imageURL orientation:(CGImagePropertyOrientation)orientation options:(NSDictionary<VNImageOption, id> *)options NS_SWIFT_UNAVAILABLE("");
 
 
 /*!
@@ -217,7 +217,7 @@
 	@param imageData			The data of the targeted image.
 	@param	options				A dictionary with options specifying auxiliary information for the image.
 */
-- (instancetype) initWithTargetedImageData:(NSData *)imageData options:(NSDictionary<VNImageOption, id> *)options;
+- (instancetype) initWithTargetedImageData:(NSData *)imageData options:(NSDictionary<VNImageOption, id> *)options NS_SWIFT_UNAVAILABLE("");
 
 
 /*!
@@ -237,7 +237,7 @@
 	@param	orientation			The orientation of the image/buffer based on the EXIF specification. For details see kCGImagePropertyOrientation. The value has to be an integer from 1 to 8. This supersedes every other orientation information.
 	@param	options				A dictionary with options specifying auxiliary information for the image.
 */
-- (instancetype) initWithTargetedImageData:(NSData *)imageData orientation:(CGImagePropertyOrientation)orientation options:(NSDictionary<VNImageOption, id> *)options;
+- (instancetype) initWithTargetedImageData:(NSData *)imageData orientation:(CGImagePropertyOrientation)orientation options:(NSDictionary<VNImageOption, id> *)options NS_SWIFT_UNAVAILABLE("");
 
 
 /*!
@@ -261,7 +261,7 @@
     @param sampleBuffer The CMSampleBuffer containing the CVImageBuffer to be used by the request.
     @param options A dictionary with options specifying auxiliary information for the image.
 */
-- (instancetype) initWithTargetedCMSampleBuffer:(CMSampleBufferRef)sampleBuffer options:(NSDictionary<VNImageOption, id> *)options API_AVAILABLE(macos(11.0), ios(14.0), tvos(14.0));
+- (instancetype) initWithTargetedCMSampleBuffer:(CMSampleBufferRef)sampleBuffer options:(NSDictionary<VNImageOption, id> *)options NS_SWIFT_UNAVAILABLE("") API_AVAILABLE(macos(11.0), ios(14.0), tvos(14.0));
 
 
 /*!
@@ -281,7 +281,7 @@
     @param orientation The orientation of the image/buffer based on the EXIF specification. For details see kCGImagePropertyOrientation. The value has to be an integer from 1 to 8. This supersedes every other orientation information.
     @param options A dictionary with options specifying auxiliary information for the image.
 */
-- (instancetype) initWithTargetedCMSampleBuffer:(CMSampleBufferRef)sampleBuffer orientation:(CGImagePropertyOrientation)orientation options:(NSDictionary<VNImageOption, id> *)options API_AVAILABLE(macos(11.0), ios(14.0), tvos(14.0));
+- (instancetype) initWithTargetedCMSampleBuffer:(CMSampleBufferRef)sampleBuffer orientation:(CGImagePropertyOrientation)orientation options:(NSDictionary<VNImageOption, id> *)options NS_SWIFT_UNAVAILABLE("") API_AVAILABLE(macos(11.0), ios(14.0), tvos(14.0));
 
 
 /*!
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNTypes.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNTypes.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNTypes.h	2021-03-16 08:47:48.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNTypes.h	2021-06-02 05:35:37.000000000 -0400
@@ -30,23 +30,30 @@
 */
 typedef NSString *VNBarcodeSymbology NS_STRING_ENUM;
 
-VN_EXPORT VNBarcodeSymbology const VNBarcodeSymbologyAztec API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
-VN_EXPORT VNBarcodeSymbology const VNBarcodeSymbologyCode39 API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
-VN_EXPORT VNBarcodeSymbology const VNBarcodeSymbologyCode39Checksum API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
-VN_EXPORT VNBarcodeSymbology const VNBarcodeSymbologyCode39FullASCII API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
-VN_EXPORT VNBarcodeSymbology const VNBarcodeSymbologyCode39FullASCIIChecksum API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
-VN_EXPORT VNBarcodeSymbology const VNBarcodeSymbologyCode93 API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
-VN_EXPORT VNBarcodeSymbology const VNBarcodeSymbologyCode93i API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
-VN_EXPORT VNBarcodeSymbology const VNBarcodeSymbologyCode128 API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
-VN_EXPORT VNBarcodeSymbology const VNBarcodeSymbologyDataMatrix API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
-VN_EXPORT VNBarcodeSymbology const VNBarcodeSymbologyEAN8 API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
-VN_EXPORT VNBarcodeSymbology const VNBarcodeSymbologyEAN13 API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
-VN_EXPORT VNBarcodeSymbology const VNBarcodeSymbologyI2of5 API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
-VN_EXPORT VNBarcodeSymbology const VNBarcodeSymbologyI2of5Checksum API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
-VN_EXPORT VNBarcodeSymbology const VNBarcodeSymbologyITF14 API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
-VN_EXPORT VNBarcodeSymbology const VNBarcodeSymbologyPDF417 API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
-VN_EXPORT VNBarcodeSymbology const VNBarcodeSymbologyQR API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
-VN_EXPORT VNBarcodeSymbology const VNBarcodeSymbologyUPCE API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
+VN_EXPORT VNBarcodeSymbology const VNBarcodeSymbologyAztec NS_SWIFT_NAME(aztec) API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
+VN_EXPORT VNBarcodeSymbology const VNBarcodeSymbologyCode39 NS_SWIFT_NAME(code39) API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
+VN_EXPORT VNBarcodeSymbology const VNBarcodeSymbologyCode39Checksum NS_SWIFT_NAME(code39Checksum) API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
+VN_EXPORT VNBarcodeSymbology const VNBarcodeSymbologyCode39FullASCII NS_SWIFT_NAME(code39FullASCII) API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
+VN_EXPORT VNBarcodeSymbology const VNBarcodeSymbologyCode39FullASCIIChecksum NS_SWIFT_NAME(code39FullASCIIChecksum) API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
+VN_EXPORT VNBarcodeSymbology const VNBarcodeSymbologyCode93 NS_SWIFT_NAME(code93) API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
+VN_EXPORT VNBarcodeSymbology const VNBarcodeSymbologyCode93i NS_SWIFT_NAME(code93i) API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
+VN_EXPORT VNBarcodeSymbology const VNBarcodeSymbologyCode128 NS_SWIFT_NAME(code128) API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
+VN_EXPORT VNBarcodeSymbology const VNBarcodeSymbologyDataMatrix NS_SWIFT_NAME(dataMatrix) API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
+VN_EXPORT VNBarcodeSymbology const VNBarcodeSymbologyEAN8 NS_SWIFT_NAME(ean8) API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
+VN_EXPORT VNBarcodeSymbology const VNBarcodeSymbologyEAN13 NS_SWIFT_NAME(ean13) API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
+VN_EXPORT VNBarcodeSymbology const VNBarcodeSymbologyI2of5 NS_SWIFT_NAME(i2of5) API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
+VN_EXPORT VNBarcodeSymbology const VNBarcodeSymbologyI2of5Checksum NS_SWIFT_NAME(i2of5Checksum) API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
+VN_EXPORT VNBarcodeSymbology const VNBarcodeSymbologyITF14 NS_SWIFT_NAME(itf14) API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
+VN_EXPORT VNBarcodeSymbology const VNBarcodeSymbologyPDF417 NS_SWIFT_NAME(pdf417) API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
+VN_EXPORT VNBarcodeSymbology const VNBarcodeSymbologyQR NS_SWIFT_NAME(qr) API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
+VN_EXPORT VNBarcodeSymbology const VNBarcodeSymbologyUPCE NS_SWIFT_NAME(upce) API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
+// Revision 2
+VN_EXPORT VNBarcodeSymbology  const VNBarcodeSymbologyCodabar NS_SWIFT_NAME(codabar) API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0));
+VN_EXPORT VNBarcodeSymbology  const VNBarcodeSymbologyGS1DataBar NS_SWIFT_NAME(gs1DataBar) API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0));
+VN_EXPORT VNBarcodeSymbology  const VNBarcodeSymbologyGS1DataBarExpanded NS_SWIFT_NAME(gs1DataBarExpanded) API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0));
+VN_EXPORT VNBarcodeSymbology  const VNBarcodeSymbologyGS1DataBarLimited NS_SWIFT_NAME(gs1DataBarLimited) API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0));
+VN_EXPORT VNBarcodeSymbology  const VNBarcodeSymbologyMicroPDF417 NS_SWIFT_NAME(microPDF417) API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0));
+VN_EXPORT VNBarcodeSymbology  const VNBarcodeSymbologyMicroQR NS_SWIFT_NAME(microQR) API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0));
 
 
 API_AVAILABLE(macos(10.15), ios(13.0), tvos(13.0))
@@ -60,6 +67,15 @@
 
 
 
-typedef NSString* VNVideoProcessingOption NS_STRING_ENUM API_AVAILABLE(macos(11.0), ios(14.0), tvos(14.0));
-VN_EXPORT VNVideoProcessingOption const VNVideoProcessingOptionFrameCadence API_DEPRECATED_WITH_REPLACEMENT("use VNVideoProcessorRequestProcessingOptions", macos(11.0, 11.0), ios(14.0, 14.0), tvos(14.0, 14.0));
-VN_EXPORT VNVideoProcessingOption const VNVideoProcessingOptionTimeInterval API_DEPRECATED_WITH_REPLACEMENT("use VNVideoProcessorRequestProcessingOptions", macos(11.0, 11.0), ios(14.0, 14.0), tvos(14.0, 14.0));
+typedef NSString* VNVideoProcessingOption NS_STRING_ENUM API_DEPRECATED_WITH_REPLACEMENT("VNVideoProcessorRequestProcessingOptions", macos(11.0, 11.0), ios(14.0, 14.0), tvos(14.0, 14.0));
+VN_EXPORT VNVideoProcessingOption const VNVideoProcessingOptionFrameCadence API_DEPRECATED_WITH_REPLACEMENT("VNVideoProcessorRequestProcessingOptions", macos(11.0, 11.0), ios(14.0, 14.0), tvos(14.0, 14.0));
+VN_EXPORT VNVideoProcessingOption const VNVideoProcessingOptionTimeInterval API_DEPRECATED_WITH_REPLACEMENT("VNVideoProcessorRequestProcessingOptions", macos(11.0, 11.0), ios(14.0, 14.0), tvos(14.0, 14.0));
+
+
+API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0))
+typedef NS_CLOSED_ENUM(NSInteger, VNChirality)
+{
+    VNChiralityUnknown = 0,
+    VNChiralityLeft = -1,
+    VNChiralityRight = 1
+};
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNUtils.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNUtils.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNUtils.h	2021-03-16 08:47:49.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/VNUtils.h	2021-06-02 05:38:10.000000000 -0400
@@ -48,6 +48,22 @@
 
 
 /*!
+    @discussion    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.
+
+    @param    normalizedPoint            The point in the normalized coordinate space of [0..1].
+    
+    @param    imageWidth                        The pixel width of the image.
+
+    @param    imageHeight                      The pixel height of the image.
+
+    @param    roi                                       The region of interest on which the normalized point was based on.
+
+    @return the point in image coordinates from a normalized point that was reported in relation to a region of interest.
+*/
+VN_EXPORT CGPoint VNImagePointForNormalizedPointUsingRegionOfInterest(CGPoint normalizedPoint, size_t imageWidth, size_t imageHeight, CGRect roi) API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0));
+
+
+/*!
  @discussion    Returns a point in normalized coordinate space that is projected from a point in a image coordinates
  
  @param    imagePoint                  The point in image coordinate space.
@@ -62,20 +78,52 @@
 
 
 /*!
-	@discussion	Returns a rectangle in (possibly non-integral) image coordinates that is projected from a rectangle in a normalized coordinate space.
+ @discussion    Returns a point in normalized coordinate space within a spedified regioin of interest (roi) that is projected from a point in a image coordinates
+ 
+ @param    imagePoint                  The point in image coordinate space.
+ 
+ @param    imageWidth                  The pixel width of the image.
+ 
+ @param    imageHeight                The pixel height of the image.
+ 
+ @param    roi                                  The region of interest on which the normalized point will based on.
+ 
+ @return the point in normalized coordinates in relation to the region of interest.
+ */
+VN_EXPORT CGPoint VNNormalizedPointForImagePointUsingRegionOfInterest(CGPoint imagePoint, size_t imageWidth, size_t imageHeight, CGRect roi) API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0));
 
-	@param	normalizedRect			The rectangle in the normalized coordinate space of [0..1].
-	
-	@param	imageWidth				The pixel width of the image.
 
-	@param	imageHeight				The pixel height of the image.
+/*!
+    @discussion    Returns a rectangle in (possibly non-integral) image coordinates that is projected from a rectangle in a normalized coordinate space.
+
+    @param    normalizedRect            The rectangle in the normalized coordinate space of [0..1].
+    
+    @param    imageWidth                The pixel width of the image.
+
+    @param    imageHeight                The pixel height of the image.
 
-	@return the rectangle in pixel coordinates.
+    @return the rectangle in pixel coordinates.
 */
 VN_EXPORT CGRect VNImageRectForNormalizedRect(CGRect normalizedRect, size_t imageWidth, size_t imageHeight) API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
 
 
 /*!
+    @discussion    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.
+
+    @param    normalizedRect               The rectangle in the normalized coordinate space of [0..1].
+    
+    @param    imageWidth                        The pixel width of the image.
+
+    @param    imageHeight                      The pixel height of the image.
+
+    @param    roi                                        The region of interest on which the normalized point was based on.
+
+    @return the rectangle in pixel coordinates from a normalized rectangle that was reported in relation to a region of interest.
+*/
+VN_EXPORT CGRect VNImageRectForNormalizedRectUsingRegionOfInterest(CGRect normalizedRect, size_t imageWidth, size_t imageHeight, CGRect roi) API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0));
+
+
+/*!
 	@discussion	Returns an image rectangle in normalized coordinates.
 
 	@param	imageRect				The rectangle in image coordinate space.
@@ -90,6 +138,22 @@
 
 
 /*!
+    @discussion    Returns an image rectangle in normalized coordinates  in relation to the region of interest.
+
+    @param    imageRect                The rectangle in image coordinate space.
+    
+    @param    imageWidth              The pixel width of the image.
+
+    @param    imageHeight            The pixel height of the image.
+ 
+    @param    roi                               The region of interest on which the normalized rect will be based on.
+
+    @return the normalized rectangle in relation to the region of interest.
+*/
+VN_EXPORT CGRect VNNormalizedRectForImageRectUsingRegionOfInterest(CGRect imageRect, size_t imageWidth, size_t imageHeight, CGRect roi) API_AVAILABLE(macos(12.0), ios(15.0), tvos(15.0));
+
+
+/*!
 	@discussion Returns the cooridnate of a given face landmark point relative to a face bounding box.
 	
 	@param	faceLandmarkPoint		A face landmark point obtained from a VNFaceLandmarkRegion2D instance.
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/Vision.apinotes /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/Vision.apinotes
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/Vision.apinotes	2021-03-16 03:42:34.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/Vision.apinotes	2021-06-01 21:11:04.000000000 -0400
@@ -1,42 +1,6 @@
 ---
 Name: Vision
 
-Globals:
-- Name: VNBarcodeSymbologyAztec
-  SwiftName: Aztec
-- Name: VNBarcodeSymbologyCode39
-  SwiftName: Code39
-- Name: VNBarcodeSymbologyCode39Checksum
-  SwiftName: Code39Checksum
-- Name: VNBarcodeSymbologyCode39FullASCII
-  SwiftName: Code39FullASCII
-- Name: VNBarcodeSymbologyCode39FullASCIIChecksum
-  SwiftName: Code39FullASCIIChecksum
-- Name: VNBarcodeSymbologyCode93
-  SwiftName: Code93
-- Name: VNBarcodeSymbologyCode93i
-  SwiftName: Code93i
-- Name: VNBarcodeSymbologyCode128
-  SwiftName: Code128
-- Name: VNBarcodeSymbologyDataMatrix
-  SwiftName: DataMatrix
-- Name: VNBarcodeSymbologyEAN8
-  SwiftName: EAN8
-- Name: VNBarcodeSymbologyEAN13
-  SwiftName: EAN13
-- Name: VNBarcodeSymbologyI2of5
-  SwiftName: I2of5
-- Name: VNBarcodeSymbologyI2of5Checksum
-  SwiftName: I2of5Checksum
-- Name: VNBarcodeSymbologyITF14
-  SwiftName: ITF14
-- Name: VNBarcodeSymbologyPDF417
-  SwiftName: PDF417
-- Name: VNBarcodeSymbologyQR
-  SwiftName: QR
-- Name: VNBarcodeSymbologyUPCE
-  SwiftName: UPCE
-
 Classes:
 - Name: VNFaceLandmarkRegion2D
   Properties:
@@ -79,25 +43,3 @@
     SwiftName: __normalizedPoints
     SwiftPrivate: true
     Nullability: N
-
-SwiftVersions:
-- Version: 4
-  Globals:
-  - Name: VNBarcodeSymbologyCode39
-    SwiftName: code39
-  - Name: VNBarcodeSymbologyCode39Checksum
-    SwiftName: code39Checksum
-  - Name: VNBarcodeSymbologyCode39FullASCII
-    SwiftName: code39FullASCII
-  - Name: VNBarcodeSymbologyCode39FullASCIIChecksum
-    SwiftName: code39FullASCIIChecksum
-  - Name: VNBarcodeSymbologyCode93
-    SwiftName: code93
-  - Name: VNBarcodeSymbologyCode93i
-    SwiftName: code93i
-  - Name: VNBarcodeSymbologyCode128
-    SwiftName: code128
-  - Name: VNBarcodeSymbologyI2of5
-    SwiftName: i2of5
-  - Name: VNBarcodeSymbologyI2of5Checksum
-    SwiftName: i2of5Checksum
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/Vision.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/Vision.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/Vision.h	2021-03-16 08:47:48.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/Vision.framework/Headers/Vision.h	2021-06-02 12:47:23.000000000 -0400
@@ -45,6 +45,8 @@
 #import <Vision/VNGeometry.h>
 #import <Vision/VNGeometryUtils.h>
 #import <Vision/VNDetectTrajectoriesRequest.h>
+#import <Vision/VNGeneratePersonSegmentationRequest.h>
+#import <Vision/VNDetectDocumentSegmentationRequest.h>
 
 /* The version of the Vision framework */
 VN_EXPORT double VNVisionVersionNumber API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
Clone this wiki locally