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 java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

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

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

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

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

        public static 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​(CGImageRef cgImage,
                                                                     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.
      • initWithTargetedCGImageOrientationOptions

        public VNTargetedImageRequest initWithTargetedCGImageOrientationOptions​(CGImageRef cgImage,
                                                                                int orientation,
                                                                                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​(CGImageRef cgImage,
                                                                                                 int orientation,
                                                                                                 NSDictionary<java.lang.String,​?> options,
                                                                                                 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​(CIImage ciImage,
                                                                     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.
      • initWithTargetedCIImageOrientationOptions

        public VNTargetedImageRequest initWithTargetedCIImageOrientationOptions​(CIImage ciImage,
                                                                                int orientation,
                                                                                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​(CIImage ciImage,
                                                                                                 int orientation,
                                                                                                 NSDictionary<java.lang.String,​?> options,
                                                                                                 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​(CVBufferRef pixelBuffer,
                                                                           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.
      • initWithTargetedCVPixelBufferOrientationOptions

        public VNTargetedImageRequest initWithTargetedCVPixelBufferOrientationOptions​(CVBufferRef pixelBuffer,
                                                                                      int orientation,
                                                                                      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​(CVBufferRef pixelBuffer,
                                                                                                       int orientation,
                                                                                                       NSDictionary<java.lang.String,​?> options,
                                                                                                       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​(NSData imageData,
                                                                       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.
      • initWithTargetedImageDataOrientationOptions

        public VNTargetedImageRequest initWithTargetedImageDataOrientationOptions​(NSData imageData,
                                                                                  int orientation,
                                                                                  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​(NSData imageData,
                                                                                                   int orientation,
                                                                                                   NSDictionary<java.lang.String,​?> options,
                                                                                                   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​(NSURL imageURL,
                                                                      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.
      • initWithTargetedImageURLOrientationOptions

        public VNTargetedImageRequest initWithTargetedImageURLOrientationOptions​(NSURL imageURL,
                                                                                 int orientation,
                                                                                 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​(NSURL imageURL,
                                                                                                  int orientation,
                                                                                                  NSDictionary<java.lang.String,​?> options,
                                                                                                  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

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • new_objc

        public static java.lang.Object new_objc()
      • 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

        public static NSIndexSet supportedRevisions()
      • initWithTargetedCMSampleBufferOptions

        public VNTargetedImageRequest initWithTargetedCMSampleBufferOptions​(CMSampleBufferRef sampleBuffer,
                                                                            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.
      • initWithTargetedCMSampleBufferOrientationOptions

        public VNTargetedImageRequest initWithTargetedCMSampleBufferOrientationOptions​(CMSampleBufferRef sampleBuffer,
                                                                                       int orientation,
                                                                                       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.
      • initWithTargetedCMSampleBufferOrientationOptionsCompletionHandler

        public VNTargetedImageRequest initWithTargetedCMSampleBufferOrientationOptionsCompletionHandler​(CMSampleBufferRef sampleBuffer,
                                                                                                        int orientation,
                                                                                                        NSDictionary<java.lang.String,​?> options,
                                                                                                        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.