Package apple.vision
Class VNImageRegistrationRequest
- java.lang.Object
-
- org.moe.natj.general.NativeObject
-
- org.moe.natj.objc.ObjCObject
-
- apple.NSObject
-
- apple.vision.VNRequest
-
- apple.vision.VNImageBasedRequest
-
- apple.vision.VNTargetedImageRequest
-
- apple.vision.VNImageRegistrationRequest
-
- Direct Known Subclasses:
VNHomographicImageRegistrationRequest,VNTranslationalImageRegistrationRequest
public class VNImageRegistrationRequest extends VNTargetedImageRequest
A request that will calculate a transformation for morphing a "floating" image onto an unchanging "reference" image. The request is created with the targeted image acting as the floating image. Processing the request will calculate the transformations that morph the floating image onto the reference image.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class apple.vision.VNTargetedImageRequest
VNTargetedImageRequest.Block_initWithTargetedCGImageOptionsCompletionHandler, VNTargetedImageRequest.Block_initWithTargetedCGImageOrientationOptionsCompletionHandler, VNTargetedImageRequest.Block_initWithTargetedCIImageOptionsCompletionHandler, VNTargetedImageRequest.Block_initWithTargetedCIImageOrientationOptionsCompletionHandler, VNTargetedImageRequest.Block_initWithTargetedCMSampleBufferOptionsCompletionHandler, VNTargetedImageRequest.Block_initWithTargetedCMSampleBufferOrientationOptionsCompletionHandler, VNTargetedImageRequest.Block_initWithTargetedCVPixelBufferOptionsCompletionHandler, VNTargetedImageRequest.Block_initWithTargetedCVPixelBufferOrientationOptionsCompletionHandler, VNTargetedImageRequest.Block_initWithTargetedImageDataOptionsCompletionHandler, VNTargetedImageRequest.Block_initWithTargetedImageDataOrientationOptionsCompletionHandler, VNTargetedImageRequest.Block_initWithTargetedImageURLOptionsCompletionHandler, VNTargetedImageRequest.Block_initWithTargetedImageURLOrientationOptionsCompletionHandler
-
Nested classes/interfaces inherited from class apple.vision.VNRequest
VNRequest.Block_completionHandler_ret, VNRequest.Block_initWithCompletionHandler
-
Nested classes/interfaces inherited from class apple.NSObject
NSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedVNImageRegistrationRequest(org.moe.natj.general.Pointer peer)
-
Method Summary
-
Methods inherited from class apple.vision.VNImageBasedRequest
regionOfInterest, setRegionOfInterest
-
Methods inherited from class apple.vision.VNRequest
cancel, completionHandler, copyWithZone, preferBackgroundProcessing, results, revision, setPreferBackgroundProcessing, setRevision, setUsesCPUOnly, usesCPUOnly
-
Methods inherited from class apple.NSObject
accessibilityActivate, accessibilityActivationPoint, accessibilityAssistiveTechnologyFocusedIdentifiers, accessibilityAttributedHint, accessibilityAttributedLabel, accessibilityAttributedUserInputLabels, accessibilityAttributedValue, accessibilityContainerType, accessibilityCustomActions, accessibilityCustomRotors, accessibilityDecrement, accessibilityDragSourceDescriptors, accessibilityDropPointDescriptors, accessibilityElementAtIndex, accessibilityElementCount, accessibilityElementDidBecomeFocused, accessibilityElementDidLoseFocus, accessibilityElementIsFocused, accessibilityElements, accessibilityElementsHidden, accessibilityFrame, accessibilityHint, accessibilityIncrement, accessibilityLabel, accessibilityLanguage, accessibilityNavigationStyle, accessibilityPath, accessibilityPerformEscape, accessibilityPerformMagicTap, accessibilityRespondsToUserInteraction, accessibilityScroll, accessibilityTextualContext, accessibilityTraits, accessibilityUserInputLabels, accessibilityValue, accessibilityViewIsModal, addObserverForKeyPathOptionsContext, attemptRecoveryFromErrorOptionIndex, attemptRecoveryFromErrorOptionIndexDelegateDidRecoverSelectorContextInfo, autoContentAccessingProxy, awakeAfterUsingCoder, awakeFromNib, class_objc, classForCoder, classForKeyedArchiver, copy, dealloc, debugDescription, description, dictionaryWithValuesForKeys, didChangeValueForKey, didChangeValueForKeyWithSetMutationUsingObjects, didChangeValuesAtIndexesForKey, doesNotRecognizeSelector, fileManagerShouldProceedAfterError, fileManagerWillProcessPath, finalize_objc, forwardingTargetForSelector, forwardInvocation, hash, indexOfAccessibilityElement, isAccessibilityElement, isEqual, isKindOfClass, isMemberOfClass, isProxy, methodForSelector, methodSignatureForSelector, mutableArrayValueForKey, mutableArrayValueForKeyPath, mutableCopy, mutableOrderedSetValueForKey, mutableOrderedSetValueForKeyPath, mutableSetValueForKey, mutableSetValueForKeyPath, observationInfo, observeValueForKeyPathOfObjectChangeContext, performSelector, performSelectorInBackgroundWithObject, performSelectorOnMainThreadWithObjectWaitUntilDone, performSelectorOnMainThreadWithObjectWaitUntilDoneModes, performSelectorOnThreadWithObjectWaitUntilDone, performSelectorOnThreadWithObjectWaitUntilDoneModes, performSelectorWithObject, performSelectorWithObjectAfterDelay, performSelectorWithObjectAfterDelayInModes, performSelectorWithObjectWithObject, prepareForInterfaceBuilder, provideImageDataBytesPerRowOrigin_Size_UserInfo, removeObserverForKeyPath, removeObserverForKeyPathContext, replacementObjectForCoder, replacementObjectForKeyedArchiver, respondsToSelector, self, setAccessibilityActivationPoint, setAccessibilityAttributedHint, setAccessibilityAttributedLabel, setAccessibilityAttributedUserInputLabels, setAccessibilityAttributedValue, setAccessibilityContainerType, setAccessibilityCustomActions, setAccessibilityCustomRotors, setAccessibilityDragSourceDescriptors, setAccessibilityDropPointDescriptors, setAccessibilityElements, setAccessibilityElementsHidden, setAccessibilityFrame, setAccessibilityHint, setAccessibilityLabel, setAccessibilityLanguage, setAccessibilityNavigationStyle, setAccessibilityPath, setAccessibilityRespondsToUserInteraction, setAccessibilityTextualContext, setAccessibilityTraits, setAccessibilityUserInputLabels, setAccessibilityValue, setAccessibilityViewIsModal, setIsAccessibilityElement, setNilValueForKey, setObservationInfo, setShouldGroupAccessibilityChildren, setValueForKey, setValueForKeyPath, setValueForUndefinedKey, setValuesForKeysWithDictionary, shouldGroupAccessibilityChildren, superclass, validateValueForKeyError, validateValueForKeyPathError, valueForKey, valueForKeyPath, valueForUndefinedKey, willChangeValueForKey, willChangeValueForKeyWithSetMutationUsingObjects, willChangeValuesAtIndexesForKey
-
-
-
-
Method Detail
-
accessInstanceVariablesDirectly
public static boolean accessInstanceVariablesDirectly()
-
alloc
public static VNImageRegistrationRequest alloc()
-
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()
-
init
public VNImageRegistrationRequest init()
Description copied from class:VNRequestCreates a new VNRequest with no completion handler.- Overrides:
initin classVNTargetedImageRequest
-
initWithCompletionHandler
public VNImageRegistrationRequest initWithCompletionHandler(VNRequest.Block_initWithCompletionHandler completionHandler)
Description copied from class:VNRequestCreates a new VNRequest with an optional completion handler.- Overrides:
initWithCompletionHandlerin classVNTargetedImageRequest- Parameters:
completionHandler- The block to be invoked after the request has completed its processing. The completion handler gets executed on the same dispatch queue as the request being executed.
-
initWithTargetedCGImageOptions
public VNImageRegistrationRequest initWithTargetedCGImageOptions(CGImageRef cgImage, NSDictionary<java.lang.String,?> options)
Description copied from class:VNTargetedImageRequestCreate a new request with a targeted CGImage.- Overrides:
initWithTargetedCGImageOptionsin classVNTargetedImageRequest- Parameters:
cgImage- The CGImageRef of the targeted image.options- A dictionary with options specifying auxiliary information for the image.
-
initWithTargetedCGImageOptionsCompletionHandler
public VNImageRegistrationRequest initWithTargetedCGImageOptionsCompletionHandler(CGImageRef cgImage, NSDictionary<java.lang.String,?> options, VNTargetedImageRequest.Block_initWithTargetedCGImageOptionsCompletionHandler completionHandler)
Description copied from class:VNTargetedImageRequestCreate a new request with a targeted CGImage.- Overrides:
initWithTargetedCGImageOptionsCompletionHandlerin classVNTargetedImageRequest- 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 VNImageRegistrationRequest initWithTargetedCGImageOrientationOptions(CGImageRef cgImage, int orientation, NSDictionary<java.lang.String,?> options)
Description copied from class:VNTargetedImageRequestCreate a new request with a targeted CGImage.- Overrides:
initWithTargetedCGImageOrientationOptionsin classVNTargetedImageRequest- 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 VNImageRegistrationRequest initWithTargetedCGImageOrientationOptionsCompletionHandler(CGImageRef cgImage, int orientation, NSDictionary<java.lang.String,?> options, VNTargetedImageRequest.Block_initWithTargetedCGImageOrientationOptionsCompletionHandler completionHandler)
Description copied from class:VNTargetedImageRequestCreate a new request with a targeted CGImage.- Overrides:
initWithTargetedCGImageOrientationOptionsCompletionHandlerin classVNTargetedImageRequest- 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 VNImageRegistrationRequest initWithTargetedCIImageOptions(CIImage ciImage, NSDictionary<java.lang.String,?> options)
Description copied from class:VNTargetedImageRequestCreate a new request with a targeted CIImage.- Overrides:
initWithTargetedCIImageOptionsin classVNTargetedImageRequest- Parameters:
ciImage- The CIImage of the targeted image.options- A dictionary with options specifying auxiliary information for the image.
-
initWithTargetedCIImageOptionsCompletionHandler
public VNImageRegistrationRequest initWithTargetedCIImageOptionsCompletionHandler(CIImage ciImage, NSDictionary<java.lang.String,?> options, VNTargetedImageRequest.Block_initWithTargetedCIImageOptionsCompletionHandler completionHandler)
Description copied from class:VNTargetedImageRequestCreate a new request with a targeted CIImage.- Overrides:
initWithTargetedCIImageOptionsCompletionHandlerin classVNTargetedImageRequest- 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 VNImageRegistrationRequest initWithTargetedCIImageOrientationOptions(CIImage ciImage, int orientation, NSDictionary<java.lang.String,?> options)
Description copied from class:VNTargetedImageRequestCreate a new request with a targeted CIImage.- Overrides:
initWithTargetedCIImageOrientationOptionsin classVNTargetedImageRequest- 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 VNImageRegistrationRequest initWithTargetedCIImageOrientationOptionsCompletionHandler(CIImage ciImage, int orientation, NSDictionary<java.lang.String,?> options, VNTargetedImageRequest.Block_initWithTargetedCIImageOrientationOptionsCompletionHandler completionHandler)
Description copied from class:VNTargetedImageRequestCreate a new request with a targeted CIImage.- Overrides:
initWithTargetedCIImageOrientationOptionsCompletionHandlerin classVNTargetedImageRequest- 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 VNImageRegistrationRequest initWithTargetedCVPixelBufferOptions(CVBufferRef pixelBuffer, NSDictionary<java.lang.String,?> options)
Description copied from class:VNTargetedImageRequestCreate a new request that targets an image in a pixel buffer.- Overrides:
initWithTargetedCVPixelBufferOptionsin classVNTargetedImageRequest- Parameters:
pixelBuffer- The pixel buffer containing the targeted image.options- A dictionary with options specifying auxiliary information for the image.
-
initWithTargetedCVPixelBufferOptionsCompletionHandler
public VNImageRegistrationRequest initWithTargetedCVPixelBufferOptionsCompletionHandler(CVBufferRef pixelBuffer, NSDictionary<java.lang.String,?> options, VNTargetedImageRequest.Block_initWithTargetedCVPixelBufferOptionsCompletionHandler completionHandler)
Description copied from class:VNTargetedImageRequestCreate a new request that targets an image in a pixel buffer.- Overrides:
initWithTargetedCVPixelBufferOptionsCompletionHandlerin classVNTargetedImageRequest- 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 VNImageRegistrationRequest initWithTargetedCVPixelBufferOrientationOptions(CVBufferRef pixelBuffer, int orientation, NSDictionary<java.lang.String,?> options)
Description copied from class:VNTargetedImageRequestCreate a new request that targets an image in a pixel buffer.- Overrides:
initWithTargetedCVPixelBufferOrientationOptionsin classVNTargetedImageRequest- 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 VNImageRegistrationRequest initWithTargetedCVPixelBufferOrientationOptionsCompletionHandler(CVBufferRef pixelBuffer, int orientation, NSDictionary<java.lang.String,?> options, VNTargetedImageRequest.Block_initWithTargetedCVPixelBufferOrientationOptionsCompletionHandler completionHandler)
Description copied from class:VNTargetedImageRequestCreate a new request that targets an image in a pixel buffer.- Overrides:
initWithTargetedCVPixelBufferOrientationOptionsCompletionHandlerin classVNTargetedImageRequest- 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 VNImageRegistrationRequest initWithTargetedImageDataOptions(NSData imageData, NSDictionary<java.lang.String,?> options)
Description copied from class:VNTargetedImageRequestCreate a new request with a targeted image data.- Overrides:
initWithTargetedImageDataOptionsin classVNTargetedImageRequest- Parameters:
imageData- The data of the targeted image.options- A dictionary with options specifying auxiliary information for the image.
-
initWithTargetedImageDataOptionsCompletionHandler
public VNImageRegistrationRequest initWithTargetedImageDataOptionsCompletionHandler(NSData imageData, NSDictionary<java.lang.String,?> options, VNTargetedImageRequest.Block_initWithTargetedImageDataOptionsCompletionHandler completionHandler)
Description copied from class:VNTargetedImageRequestCreate a new request with a targeted image data.- Overrides:
initWithTargetedImageDataOptionsCompletionHandlerin classVNTargetedImageRequest- 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 VNImageRegistrationRequest initWithTargetedImageDataOrientationOptions(NSData imageData, int orientation, NSDictionary<java.lang.String,?> options)
Description copied from class:VNTargetedImageRequestCreate a new request with a targeted image data.- Overrides:
initWithTargetedImageDataOrientationOptionsin classVNTargetedImageRequest- 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 VNImageRegistrationRequest initWithTargetedImageDataOrientationOptionsCompletionHandler(NSData imageData, int orientation, NSDictionary<java.lang.String,?> options, VNTargetedImageRequest.Block_initWithTargetedImageDataOrientationOptionsCompletionHandler completionHandler)
Description copied from class:VNTargetedImageRequestCreate a new request with a targeted image data.- Overrides:
initWithTargetedImageDataOrientationOptionsCompletionHandlerin classVNTargetedImageRequest- 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 VNImageRegistrationRequest initWithTargetedImageURLOptions(NSURL imageURL, NSDictionary<java.lang.String,?> options)
Description copied from class:VNTargetedImageRequestCreate a new request with a targeted image URL.- Overrides:
initWithTargetedImageURLOptionsin classVNTargetedImageRequest- Parameters:
imageURL- The URL of the targeted image.options- A dictionary with options specifying auxiliary information for the image.
-
initWithTargetedImageURLOptionsCompletionHandler
public VNImageRegistrationRequest initWithTargetedImageURLOptionsCompletionHandler(NSURL imageURL, NSDictionary<java.lang.String,?> options, VNTargetedImageRequest.Block_initWithTargetedImageURLOptionsCompletionHandler completionHandler)
Description copied from class:VNTargetedImageRequestCreate a new request with a targeted image URL.- Overrides:
initWithTargetedImageURLOptionsCompletionHandlerin classVNTargetedImageRequest- 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 VNImageRegistrationRequest initWithTargetedImageURLOrientationOptions(NSURL imageURL, int orientation, NSDictionary<java.lang.String,?> options)
Description copied from class:VNTargetedImageRequestCreate a new request with a targeted image URL.- Overrides:
initWithTargetedImageURLOrientationOptionsin classVNTargetedImageRequest- 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 VNImageRegistrationRequest initWithTargetedImageURLOrientationOptionsCompletionHandler(NSURL imageURL, int orientation, NSDictionary<java.lang.String,?> options, VNTargetedImageRequest.Block_initWithTargetedImageURLOrientationOptionsCompletionHandler completionHandler)
Description copied from class:VNTargetedImageRequestCreate a new request with a targeted image URL.- Overrides:
initWithTargetedImageURLOrientationOptionsCompletionHandlerin classVNTargetedImageRequest- 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.
-
instanceMethodForSelector
public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
-
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 VNImageRegistrationRequest initWithTargetedCMSampleBufferOptions(CMSampleBufferRef sampleBuffer, NSDictionary<java.lang.String,?> options)
Description copied from class:VNTargetedImageRequestCreate a new request with a targeted CMSampleBuffer.- Overrides:
initWithTargetedCMSampleBufferOptionsin classVNTargetedImageRequest- Parameters:
sampleBuffer- The CMSampleBuffer containing the CVImageBuffer to be used by the request.options- A dictionary with options specifying auxiliary information for the image.
-
initWithTargetedCMSampleBufferOptionsCompletionHandler
public VNImageRegistrationRequest initWithTargetedCMSampleBufferOptionsCompletionHandler(CMSampleBufferRef sampleBuffer, NSDictionary<java.lang.String,?> options, VNTargetedImageRequest.Block_initWithTargetedCMSampleBufferOptionsCompletionHandler completionHandler)
Description copied from class:VNTargetedImageRequestCreate a new request with a targeted CMSampleBuffer.- Overrides:
initWithTargetedCMSampleBufferOptionsCompletionHandlerin classVNTargetedImageRequest- 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.
-
initWithTargetedCMSampleBufferOrientationOptions
public VNImageRegistrationRequest initWithTargetedCMSampleBufferOrientationOptions(CMSampleBufferRef sampleBuffer, int orientation, NSDictionary<java.lang.String,?> options)
Description copied from class:VNTargetedImageRequestCreate a new request with a targeted CMSampleBuffer.- Overrides:
initWithTargetedCMSampleBufferOrientationOptionsin classVNTargetedImageRequest- 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 VNImageRegistrationRequest initWithTargetedCMSampleBufferOrientationOptionsCompletionHandler(CMSampleBufferRef sampleBuffer, int orientation, NSDictionary<java.lang.String,?> options, VNTargetedImageRequest.Block_initWithTargetedCMSampleBufferOrientationOptionsCompletionHandler completionHandler)
Description copied from class:VNTargetedImageRequestCreate a new request with a targeted CMSampleBuffer.- Overrides:
initWithTargetedCMSampleBufferOrientationOptionsCompletionHandlerin classVNTargetedImageRequest- 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.
-
-