Package apple.vision
Class VNTranslationalImageRegistrationRequest
- 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
-
- apple.vision.VNTranslationalImageRegistrationRequest
-
public class VNTranslationalImageRegistrationRequest extends VNImageRegistrationRequest
An image registration request that will calculate a translational 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 affine 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 protectedVNTranslationalImageRegistrationRequest(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 VNTranslationalImageRegistrationRequest 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 VNTranslationalImageRegistrationRequest init()
Description copied from class:VNRequestCreates a new VNRequest with no completion handler.- Overrides:
initin classVNImageRegistrationRequest
-
initWithCompletionHandler
public VNTranslationalImageRegistrationRequest initWithCompletionHandler(VNRequest.Block_initWithCompletionHandler completionHandler)
Description copied from class:VNRequestCreates a new VNRequest with an optional completion handler.- Overrides:
initWithCompletionHandlerin classVNImageRegistrationRequest- 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 VNTranslationalImageRegistrationRequest initWithTargetedCGImageOptions(CGImageRef cgImage, NSDictionary<java.lang.String,?> options)
Description copied from class:VNTargetedImageRequestCreate a new request with a targeted CGImage.- Overrides:
initWithTargetedCGImageOptionsin classVNImageRegistrationRequest- Parameters:
cgImage- The CGImageRef of the targeted image.options- A dictionary with options specifying auxiliary information for the image.
-
initWithTargetedCGImageOptionsCompletionHandler
public VNTranslationalImageRegistrationRequest 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 classVNImageRegistrationRequest- 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 VNTranslationalImageRegistrationRequest initWithTargetedCGImageOrientationOptions(CGImageRef cgImage, int orientation, NSDictionary<java.lang.String,?> options)
Description copied from class:VNTargetedImageRequestCreate a new request with a targeted CGImage.- Overrides:
initWithTargetedCGImageOrientationOptionsin classVNImageRegistrationRequest- 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 VNTranslationalImageRegistrationRequest 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 classVNImageRegistrationRequest- 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 VNTranslationalImageRegistrationRequest initWithTargetedCIImageOptions(CIImage ciImage, NSDictionary<java.lang.String,?> options)
Description copied from class:VNTargetedImageRequestCreate a new request with a targeted CIImage.- Overrides:
initWithTargetedCIImageOptionsin classVNImageRegistrationRequest- Parameters:
ciImage- The CIImage of the targeted image.options- A dictionary with options specifying auxiliary information for the image.
-
initWithTargetedCIImageOptionsCompletionHandler
public VNTranslationalImageRegistrationRequest 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 classVNImageRegistrationRequest- 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 VNTranslationalImageRegistrationRequest initWithTargetedCIImageOrientationOptions(CIImage ciImage, int orientation, NSDictionary<java.lang.String,?> options)
Description copied from class:VNTargetedImageRequestCreate a new request with a targeted CIImage.- Overrides:
initWithTargetedCIImageOrientationOptionsin classVNImageRegistrationRequest- 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 VNTranslationalImageRegistrationRequest 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 classVNImageRegistrationRequest- 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 VNTranslationalImageRegistrationRequest 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 classVNImageRegistrationRequest- Parameters:
pixelBuffer- The pixel buffer containing the targeted image.options- A dictionary with options specifying auxiliary information for the image.
-
initWithTargetedCVPixelBufferOptionsCompletionHandler
public VNTranslationalImageRegistrationRequest 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 classVNImageRegistrationRequest- 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 VNTranslationalImageRegistrationRequest 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 classVNImageRegistrationRequest- 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 VNTranslationalImageRegistrationRequest 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 classVNImageRegistrationRequest- 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 VNTranslationalImageRegistrationRequest initWithTargetedImageDataOptions(NSData imageData, NSDictionary<java.lang.String,?> options)
Description copied from class:VNTargetedImageRequestCreate a new request with a targeted image data.- Overrides:
initWithTargetedImageDataOptionsin classVNImageRegistrationRequest- Parameters:
imageData- The data of the targeted image.options- A dictionary with options specifying auxiliary information for the image.
-
initWithTargetedImageDataOptionsCompletionHandler
public VNTranslationalImageRegistrationRequest 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 classVNImageRegistrationRequest- 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 VNTranslationalImageRegistrationRequest 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 classVNImageRegistrationRequest- 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 VNTranslationalImageRegistrationRequest 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 classVNImageRegistrationRequest- 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 VNTranslationalImageRegistrationRequest initWithTargetedImageURLOptions(NSURL imageURL, NSDictionary<java.lang.String,?> options)
Description copied from class:VNTargetedImageRequestCreate a new request with a targeted image URL.- Overrides:
initWithTargetedImageURLOptionsin classVNImageRegistrationRequest- Parameters:
imageURL- The URL of the targeted image.options- A dictionary with options specifying auxiliary information for the image.
-
initWithTargetedImageURLOptionsCompletionHandler
public VNTranslationalImageRegistrationRequest 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 classVNImageRegistrationRequest- 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 VNTranslationalImageRegistrationRequest 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 classVNImageRegistrationRequest- 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 VNTranslationalImageRegistrationRequest 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 classVNImageRegistrationRequest- 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 VNTranslationalImageRegistrationRequest initWithTargetedCMSampleBufferOptions(CMSampleBufferRef sampleBuffer, NSDictionary<java.lang.String,?> options)
Description copied from class:VNTargetedImageRequestCreate a new request with a targeted CMSampleBuffer.- Overrides:
initWithTargetedCMSampleBufferOptionsin classVNImageRegistrationRequest- 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 VNTranslationalImageRegistrationRequest 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 classVNImageRegistrationRequest- 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 VNTranslationalImageRegistrationRequest initWithTargetedCMSampleBufferOrientationOptions(CMSampleBufferRef sampleBuffer, int orientation, NSDictionary<java.lang.String,?> options)
Description copied from class:VNTargetedImageRequestCreate a new request with a targeted CMSampleBuffer.- Overrides:
initWithTargetedCMSampleBufferOrientationOptionsin classVNImageRegistrationRequest- 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 VNTranslationalImageRegistrationRequest 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 classVNImageRegistrationRequest- 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.
-
-