Package apple.vision

Class VNTargetedImageRequest

    • Constructor Detail

      • VNTargetedImageRequest

        protected VNTargetedImageRequest​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static VNTargetedImageRequest allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(@NotNull
                                                                   @NotNull java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(@NotNull
                                                                   @NotNull java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(@NotNull
                                                                                 @NotNull java.lang.Object aTarget,
                                                                                 @NotNull
                                                                                 @NotNull org.moe.natj.objc.SEL aSelector,
                                                                                 @Nullable
                                                                                 @Nullable java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        @NotNull
        public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        @NotNull
        public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • hash_static

        public static long hash_static()
      • initWithTargetedCGImageOptions

        public VNTargetedImageRequest initWithTargetedCGImageOptions​(@NotNull
                                                                     @NotNull CGImageRef cgImage,
                                                                     @NotNull
                                                                     @NotNull NSDictionary<java.lang.String,​?> options)
        Create a new request with a targeted CGImage.
        Parameters:
        cgImage - The CGImageRef of the targeted image.
        options - A dictionary with options specifying auxiliary information for the image.
      • initWithTargetedCGImageOptionsCompletionHandler

        public VNTargetedImageRequest initWithTargetedCGImageOptionsCompletionHandler​(@NotNull
                                                                                      @NotNull CGImageRef cgImage,
                                                                                      @NotNull
                                                                                      @NotNull NSDictionary<java.lang.String,​?> options,
                                                                                      @Nullable
                                                                                      @Nullable VNTargetedImageRequest.Block_initWithTargetedCGImageOptionsCompletionHandler completionHandler)
        Create a new request with a targeted CGImage.
        Parameters:
        cgImage - The CGImageRef of the targeted image.
        options - A dictionary with options specifying auxiliary information for the image.
        completionHandler - The block that is invoked when the request has been performed.
      • initWithTargetedCGImageOrientationOptions

        public VNTargetedImageRequest initWithTargetedCGImageOrientationOptions​(@NotNull
                                                                                @NotNull CGImageRef cgImage,
                                                                                int orientation,
                                                                                @NotNull
                                                                                @NotNull NSDictionary<java.lang.String,​?> options)
        Create a new request with a targeted CGImage.
        Parameters:
        cgImage - The CGImageRef of the targeted image.
        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.
        options - A dictionary with options specifying auxiliary information for the image.
      • initWithTargetedCGImageOrientationOptionsCompletionHandler

        public VNTargetedImageRequest initWithTargetedCGImageOrientationOptionsCompletionHandler​(@NotNull
                                                                                                 @NotNull CGImageRef cgImage,
                                                                                                 int orientation,
                                                                                                 @NotNull
                                                                                                 @NotNull NSDictionary<java.lang.String,​?> options,
                                                                                                 @Nullable
                                                                                                 @Nullable VNTargetedImageRequest.Block_initWithTargetedCGImageOrientationOptionsCompletionHandler completionHandler)
        Create a new request with a targeted CGImage.
        Parameters:
        cgImage - The CGImageRef of the targeted image.
        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.
        options - A dictionary with options specifying auxiliary information for the image.
        completionHandler - The block that is invoked when the request has been performed.
      • initWithTargetedCIImageOptions

        public VNTargetedImageRequest initWithTargetedCIImageOptions​(@NotNull
                                                                     @NotNull CIImage ciImage,
                                                                     @NotNull
                                                                     @NotNull NSDictionary<java.lang.String,​?> options)
        Create a new request with a targeted CIImage.
        Parameters:
        ciImage - The CIImage of the targeted image.
        options - A dictionary with options specifying auxiliary information for the image.
      • initWithTargetedCIImageOptionsCompletionHandler

        public VNTargetedImageRequest initWithTargetedCIImageOptionsCompletionHandler​(@NotNull
                                                                                      @NotNull CIImage ciImage,
                                                                                      @NotNull
                                                                                      @NotNull NSDictionary<java.lang.String,​?> options,
                                                                                      @Nullable
                                                                                      @Nullable VNTargetedImageRequest.Block_initWithTargetedCIImageOptionsCompletionHandler completionHandler)
        Create a new request with a targeted CIImage.
        Parameters:
        ciImage - The CIImage of the targeted image.
        options - A dictionary with options specifying auxiliary information for the image.
        completionHandler - The block that is invoked when the request has been performed.
      • initWithTargetedCIImageOrientationOptions

        public VNTargetedImageRequest initWithTargetedCIImageOrientationOptions​(@NotNull
                                                                                @NotNull CIImage ciImage,
                                                                                int orientation,
                                                                                @NotNull
                                                                                @NotNull NSDictionary<java.lang.String,​?> options)
        Create a new request with a targeted CIImage.
        Parameters:
        ciImage - The CIImage of the targeted image.
        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.
        options - A dictionary with options specifying auxiliary information for the image.
      • initWithTargetedCIImageOrientationOptionsCompletionHandler

        public VNTargetedImageRequest initWithTargetedCIImageOrientationOptionsCompletionHandler​(@NotNull
                                                                                                 @NotNull CIImage ciImage,
                                                                                                 int orientation,
                                                                                                 @NotNull
                                                                                                 @NotNull NSDictionary<java.lang.String,​?> options,
                                                                                                 @Nullable
                                                                                                 @Nullable VNTargetedImageRequest.Block_initWithTargetedCIImageOrientationOptionsCompletionHandler completionHandler)
        Create a new request with a targeted CIImage.
        Parameters:
        ciImage - The CIImage of the targeted image.
        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.
        options - A dictionary with options specifying auxiliary information for the image.
        completionHandler - The block that is invoked when the request has been performed.
      • initWithTargetedCVPixelBufferOptions

        public VNTargetedImageRequest initWithTargetedCVPixelBufferOptions​(@NotNull
                                                                           @NotNull CVBufferRef pixelBuffer,
                                                                           @NotNull
                                                                           @NotNull NSDictionary<java.lang.String,​?> options)
        Create a new request that targets an image in a pixel buffer.
        Parameters:
        pixelBuffer - The pixel buffer containing the targeted image.
        options - A dictionary with options specifying auxiliary information for the image.
      • initWithTargetedCVPixelBufferOptionsCompletionHandler

        public VNTargetedImageRequest initWithTargetedCVPixelBufferOptionsCompletionHandler​(@NotNull
                                                                                            @NotNull CVBufferRef pixelBuffer,
                                                                                            @NotNull
                                                                                            @NotNull NSDictionary<java.lang.String,​?> options,
                                                                                            @Nullable
                                                                                            @Nullable VNTargetedImageRequest.Block_initWithTargetedCVPixelBufferOptionsCompletionHandler completionHandler)
        Create a new request that targets an image in a pixel buffer.
        Parameters:
        pixelBuffer - The pixel buffer containing the targeted image.
        options - A dictionary with options specifying auxiliary information for the image.
        completionHandler - The block that is invoked when the request has been performed.
      • initWithTargetedCVPixelBufferOrientationOptions

        public VNTargetedImageRequest initWithTargetedCVPixelBufferOrientationOptions​(@NotNull
                                                                                      @NotNull CVBufferRef pixelBuffer,
                                                                                      int orientation,
                                                                                      @NotNull
                                                                                      @NotNull NSDictionary<java.lang.String,​?> options)
        Create a new request that targets an image in a pixel buffer.
        Parameters:
        pixelBuffer - The pixel buffer containing the targeted image.
        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.
        options - A dictionary with options specifying auxiliary information for the image.
      • initWithTargetedCVPixelBufferOrientationOptionsCompletionHandler

        public VNTargetedImageRequest initWithTargetedCVPixelBufferOrientationOptionsCompletionHandler​(@NotNull
                                                                                                       @NotNull CVBufferRef pixelBuffer,
                                                                                                       int orientation,
                                                                                                       @NotNull
                                                                                                       @NotNull NSDictionary<java.lang.String,​?> options,
                                                                                                       @Nullable
                                                                                                       @Nullable VNTargetedImageRequest.Block_initWithTargetedCVPixelBufferOrientationOptionsCompletionHandler completionHandler)
        Create a new request that targets an image in a pixel buffer.
        Parameters:
        pixelBuffer - The pixel buffer containing the targeted image.
        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.
        options - A dictionary with options specifying auxiliary information for the image.
        completionHandler - The block that is invoked when the request has been performed.
      • initWithTargetedImageDataOptions

        public VNTargetedImageRequest initWithTargetedImageDataOptions​(@NotNull
                                                                       @NotNull NSData imageData,
                                                                       @NotNull
                                                                       @NotNull NSDictionary<java.lang.String,​?> options)
        Create a new request with a targeted image data.
        Parameters:
        imageData - The data of the targeted image.
        options - A dictionary with options specifying auxiliary information for the image.
      • initWithTargetedImageDataOptionsCompletionHandler

        public VNTargetedImageRequest initWithTargetedImageDataOptionsCompletionHandler​(@NotNull
                                                                                        @NotNull NSData imageData,
                                                                                        @NotNull
                                                                                        @NotNull NSDictionary<java.lang.String,​?> options,
                                                                                        @Nullable
                                                                                        @Nullable VNTargetedImageRequest.Block_initWithTargetedImageDataOptionsCompletionHandler completionHandler)
        Create a new request with a targeted image data.
        Parameters:
        imageData - The data of the targeted image.
        options - A dictionary with options specifying auxiliary information for the image.
        completionHandler - The block that is invoked when the request has been performed.
      • initWithTargetedImageDataOrientationOptions

        public VNTargetedImageRequest initWithTargetedImageDataOrientationOptions​(@NotNull
                                                                                  @NotNull NSData imageData,
                                                                                  int orientation,
                                                                                  @NotNull
                                                                                  @NotNull NSDictionary<java.lang.String,​?> options)
        Create a new request with a targeted image data.
        Parameters:
        imageData - The data of the targeted image.
        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.
        options - A dictionary with options specifying auxiliary information for the image.
      • initWithTargetedImageDataOrientationOptionsCompletionHandler

        public VNTargetedImageRequest initWithTargetedImageDataOrientationOptionsCompletionHandler​(@NotNull
                                                                                                   @NotNull NSData imageData,
                                                                                                   int orientation,
                                                                                                   @NotNull
                                                                                                   @NotNull NSDictionary<java.lang.String,​?> options,
                                                                                                   @Nullable
                                                                                                   @Nullable VNTargetedImageRequest.Block_initWithTargetedImageDataOrientationOptionsCompletionHandler completionHandler)
        Create a new request with a targeted image data.
        Parameters:
        imageData - The data of the targeted image.
        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.
        options - A dictionary with options specifying auxiliary information for the image.
        completionHandler - The block that is invoked when the request has been performed.
      • initWithTargetedImageURLOptions

        public VNTargetedImageRequest initWithTargetedImageURLOptions​(@NotNull
                                                                      @NotNull NSURL imageURL,
                                                                      @NotNull
                                                                      @NotNull NSDictionary<java.lang.String,​?> options)
        Create a new request with a targeted image URL.
        Parameters:
        imageURL - The URL of the targeted image.
        options - A dictionary with options specifying auxiliary information for the image.
      • initWithTargetedImageURLOptionsCompletionHandler

        public VNTargetedImageRequest initWithTargetedImageURLOptionsCompletionHandler​(@NotNull
                                                                                       @NotNull NSURL imageURL,
                                                                                       @NotNull
                                                                                       @NotNull NSDictionary<java.lang.String,​?> options,
                                                                                       @Nullable
                                                                                       @Nullable VNTargetedImageRequest.Block_initWithTargetedImageURLOptionsCompletionHandler completionHandler)
        Create a new request with a targeted image URL.
        Parameters:
        imageURL - The URL of the targeted image.
        options - A dictionary with options specifying auxiliary information for the image.
        completionHandler - The block that is invoked when the request has been performed.
      • initWithTargetedImageURLOrientationOptions

        public VNTargetedImageRequest initWithTargetedImageURLOrientationOptions​(@NotNull
                                                                                 @NotNull NSURL imageURL,
                                                                                 int orientation,
                                                                                 @NotNull
                                                                                 @NotNull NSDictionary<java.lang.String,​?> options)
        Create a new request with a targeted image URL.
        Parameters:
        imageURL - The URL of the targeted image.
        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.
        options - A dictionary with options specifying auxiliary information for the image.
      • initWithTargetedImageURLOrientationOptionsCompletionHandler

        public VNTargetedImageRequest initWithTargetedImageURLOrientationOptionsCompletionHandler​(@NotNull
                                                                                                  @NotNull NSURL imageURL,
                                                                                                  int orientation,
                                                                                                  @NotNull
                                                                                                  @NotNull NSDictionary<java.lang.String,​?> options,
                                                                                                  @Nullable
                                                                                                  @Nullable VNTargetedImageRequest.Block_initWithTargetedImageURLOrientationOptionsCompletionHandler completionHandler)
        Create a new request with a targeted image URL.
        Parameters:
        imageURL - The URL of the targeted image.
        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.
        options - A dictionary with options specifying auxiliary information for the image.
        completionHandler - The block that is invoked when the request has been performed.
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • version_static

        public static long version_static()
      • currentRevision

        public static long currentRevision()
      • defaultRevision

        public static long defaultRevision()
      • supportedRevisions

        @NotNull
        public static @NotNull NSIndexSet supportedRevisions()
      • initWithTargetedCMSampleBufferOptions

        public VNTargetedImageRequest initWithTargetedCMSampleBufferOptions​(@NotNull
                                                                            @NotNull CMSampleBufferRef sampleBuffer,
                                                                            @NotNull
                                                                            @NotNull NSDictionary<java.lang.String,​?> options)
        Create a new request with a targeted CMSampleBuffer.
        Parameters:
        sampleBuffer - The CMSampleBuffer containing the CVImageBuffer to be used by the request.
        options - A dictionary with options specifying auxiliary information for the image. API-Since: 14.0
      • initWithTargetedCMSampleBufferOptionsCompletionHandler

        public VNTargetedImageRequest initWithTargetedCMSampleBufferOptionsCompletionHandler​(@NotNull
                                                                                             @NotNull CMSampleBufferRef sampleBuffer,
                                                                                             @NotNull
                                                                                             @NotNull NSDictionary<java.lang.String,​?> options,
                                                                                             @Nullable
                                                                                             @Nullable VNTargetedImageRequest.Block_initWithTargetedCMSampleBufferOptionsCompletionHandler completionHandler)
        Create a new request with a targeted CMSampleBuffer.
        Parameters:
        sampleBuffer - The CMSampleBuffer containing the CVImageBuffer to be used by the request.
        options - A dictionary with options specifying auxiliary information for the image.
        completionHandler - The block that is invoked after the request has been performed. API-Since: 14.0
      • initWithTargetedCMSampleBufferOrientationOptions

        public VNTargetedImageRequest initWithTargetedCMSampleBufferOrientationOptions​(@NotNull
                                                                                       @NotNull CMSampleBufferRef sampleBuffer,
                                                                                       int orientation,
                                                                                       @NotNull
                                                                                       @NotNull NSDictionary<java.lang.String,​?> options)
        Create a new request with a targeted CMSampleBuffer.
        Parameters:
        sampleBuffer - The CMSampleBuffer containing the CVImageBuffer to be used by the request.
        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.
        options - A dictionary with options specifying auxiliary information for the image. API-Since: 14.0
      • initWithTargetedCMSampleBufferOrientationOptionsCompletionHandler

        public VNTargetedImageRequest initWithTargetedCMSampleBufferOrientationOptionsCompletionHandler​(@NotNull
                                                                                                        @NotNull CMSampleBufferRef sampleBuffer,
                                                                                                        int orientation,
                                                                                                        @NotNull
                                                                                                        @NotNull NSDictionary<java.lang.String,​?> options,
                                                                                                        @Nullable
                                                                                                        @Nullable VNTargetedImageRequest.Block_initWithTargetedCMSampleBufferOrientationOptionsCompletionHandler completionHandler)
        Create a new request with a targeted CMSampleBuffer.
        Parameters:
        sampleBuffer - The CMSampleBuffer containing the CVImageBuffer to be used by the request.
        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.
        options - A dictionary with options specifying auxiliary information for the image.
        completionHandler - The block that is invoked after the request has been performed. API-Since: 14.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.