-
Notifications
You must be signed in to change notification settings - Fork 514
Vision macOS xcode16.0 b1
Rolf Bjarne Kvinge edited this page Aug 29, 2024
·
3 revisions
#Vision.framework https://github.com/xamarin/xamarin-macios/pull/21149
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Vision.framework/Headers/VNCalculateImageAestheticsScoresRequest.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Vision.framework/Headers/VNCalculateImageAestheticsScoresRequest.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Vision.framework/Headers/VNCalculateImageAestheticsScoresRequest.h 1970-01-01 01:00:00
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Vision.framework/Headers/VNCalculateImageAestheticsScoresRequest.h 2024-05-30 02:33:01
@@ -0,0 +1,32 @@
+//
+// VNCalculateImageAestheticsScoresRequest.h
+// Vision
+//
+// Copyright © 2023 Apple Inc. All rights reserved.
+//
+
+#import <Vision/VNRequest.h>
+#import <Vision/VNObservation.h>
+
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*!
+ @brief Analyzes an image for aesthetically pleasing attributes and returns a VNImageAestheticsScoresObservation.
+ This observation calculates an overall aeshetically pleasing score for the image and checks for utility images.
+*/
+API_AVAILABLE(macos(15.0), ios(18.0), tvos(18.0), visionos(2.0))
+@interface VNCalculateImageAestheticsScoresRequest : VNImageBasedRequest
+
+/*!
+ @discussion VNObservation results.
+*/
+
+@property (readonly, copy, nullable) NSArray<VNImageAestheticsScoresObservation*>* results;
+
+@end
+
+API_AVAILABLE(macos(15.0), ios(18.0), tvos(18.0), visionos(2.0))
+static const NSUInteger VNCalculateImageAestheticsScoresRequestRevision1 = 1;
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectHumanBodyPoseRequest.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectHumanBodyPoseRequest.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectHumanBodyPoseRequest.h 2024-04-13 15:10:42
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Vision.framework/Headers/VNDetectHumanBodyPoseRequest.h 2024-05-30 03:54:00
@@ -7,8 +7,8 @@
#import <Vision/VNRequest.h>
#import <Vision/VNObservation.h>
+#import <Vision/VNDetectHumanHandPoseRequest.h>
-
NS_ASSUME_NONNULL_BEGIN
@@ -107,14 +107,11 @@
*/
@property (readonly, copy) NSArray<VNHumanBodyPoseObservationJointName>* availableJointNames;
-
-
/*!
@brief All of the joints group names available in the observation.
*/
@property (readonly, copy) NSArray<VNHumanBodyPoseObservationJointsGroupName>* availableJointsGroupNames;
-
/*!
@brief Obtain a specific normalized point for a named human body joint.
@@ -193,8 +190,5 @@
API_AVAILABLE(macos(11.0), ios(14.0), tvos(14.0))
static const NSUInteger VNDetectHumanBodyPoseRequestRevision1 = 1;
-
-
-
NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Vision.framework/Headers/VNGeneratePersonSegmentationRequest.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Vision.framework/Headers/VNGeneratePersonSegmentationRequest.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Vision.framework/Headers/VNGeneratePersonSegmentationRequest.h 2024-04-13 20:19:49
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Vision.framework/Headers/VNGeneratePersonSegmentationRequest.h 2024-05-30 02:33:01
@@ -44,6 +44,12 @@
*/
@property (readwrite, nonatomic, assign) VNGeneratePersonSegmentationRequestQualityLevel qualityLevel;
+
+/*!
+ @brief Obtain the collection of supported output pixel formats for the configured request.
+*/
+- (nullable NSArray<NSNumber*>*) supportedOutputPixelFormatsAndReturnError:(NSError**)error API_AVAILABLE(macos(15.0), ios(18.0), tvos(18.0), visionos(2.0));
+
/*!
@brief Pixel format type of the output buffer. Valid values are kCVPixelFormatType_OneComponent32Float, kCVPixelFormatType_OneComponent16Half, and kCVPixelFormatType_OneComponent8. Default is kCVPixelFormatType_OneComponent8.
*/
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Vision.framework/Headers/VNObservation.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Vision.framework/Headers/VNObservation.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Vision.framework/Headers/VNObservation.h 2024-04-13 13:56:26
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Vision.framework/Headers/VNObservation.h 2024-05-30 03:49:58
@@ -963,4 +963,28 @@
@end
+#pragma mark ---- VNImageAestheticsScoresObservation ----
+
+/*!
+ @class VNImageAestheticsScoresObservation
+ @superclass VNObservation
+ @brief VNImageAestheticsScoresObservation provides an overall score of aesthetic attributes for an image.
+ */
+API_AVAILABLE(macos(15.0), ios(18.0), tvos(18.0), visionos(2.0))
+@interface VNImageAestheticsScoresObservation: VNObservation
+
+-(instancetype) init NS_UNAVAILABLE;
+
+/*!
+ @brief `isUtility` represents images that are not necessarily of poor image quality but may not have memorable or exciting content. `isUtility` can be true or false.
+ */
+@property (readonly, nonatomic, assign) BOOL isUtility;
+
+/*!
+ @brief A score which incorporates aesthetic score, failure score and utility labels. `overallScore` is within the range [-1, 1] where 1 is most desirable and -1 is not desirable.
+ */
+@property (readonly, nonatomic, assign) float overallScore;
+
+@end
+
NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Vision.framework/Headers/VNRecognizeTextRequest.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Vision.framework/Headers/VNRecognizeTextRequest.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Vision.framework/Headers/VNRecognizeTextRequest.h 2024-03-22 20:11:03
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Vision.framework/Headers/VNRecognizeTextRequest.h 2024-05-30 04:30:13
@@ -90,7 +90,7 @@
/*
@brief VNRecognizeTextRequestRevision1 only supports English
*/
-API_AVAILABLE(macos(10.15), ios(13.0), tvos(13.0))
+API_DEPRECATED_WITH_REPLACEMENT("VNRecognizeTextRequestRevision2 or VNRecognizeTextRequestRevision3", macos(10.15, 15.0), ios(13.0, 18.0), tvos(13.0, 18.0))
static const NSUInteger VNRecognizeTextRequestRevision1 = 1;
/*
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Vision.framework/Headers/Vision.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Vision.framework/Headers/Vision.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Vision.framework/Headers/Vision.h 2024-04-13 20:19:48
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/Vision.framework/Headers/Vision.h 2024-05-30 02:33:00
@@ -56,6 +56,7 @@
#import <Vision/VNDetectHumanBodyPose3DRequest.h>
#import <Vision/VNHumanBodyRecognizedPoint3D.h>
#import <Vision/VNRecognizedPoint3D.h>
+#import <Vision/VNCalculateImageAestheticsScoresRequest.h>
/* The version of the Vision framework */
VN_EXPORT double VNVisionVersionNumber API_AVAILABLE(macos(10.13), ios(11.0), tvos(11.0));
- README
- xcode13.0 Binding Status
- xcode13.1 Binding Status
- xcode13.2 Binding Status
- xcode13.3 Binding Status
- xcode13.4 Binding Status
- xcode14.0 Binding Status
- xcode14.1 Binding Status
- xcode14.2 Binding Status
- xcode14.3 Binding Status
- xcode15.0 Binding Status
- xcode15.1 Binding Status
- xcode15.3 Binding Status
- xcode15.4 Binding Status
- xcode16.0 Binding Status
- xcode16.1 Binding Status
- xcode16.2 Binding Status