public class VNDetectTrajectoriesRequest extends VNStatefulRequest
This request detects objects moving and (once their path follows the constraint of a parabola), a VNTrajectoryObservation will be returned with the detected points and the equation describing the parabola.
| Modifier and Type | Class and Description |
|---|---|
static interface |
VNDetectTrajectoriesRequest.Block_initWithFrameAnalysisSpacingTrajectoryLengthCompletionHandler |
VNStatefulRequest.Block_initWithFrameAnalysisSpacingCompletionHandlerVNRequest.Block_completionHandler_ret, VNRequest.Block_initWithCompletionHandlerNSObject.Function_instanceMethodForSelector_ret, NSObject.Function_methodForSelector_ret| Modifier | Constructor and Description |
|---|---|
protected |
VNDetectTrajectoriesRequest(org.moe.natj.general.Pointer peer) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
accessInstanceVariablesDirectly() |
static VNDetectTrajectoriesRequest |
alloc() |
static VNDetectTrajectoriesRequest |
allocWithZone(org.moe.natj.general.ptr.VoidPtr zone) |
static boolean |
automaticallyNotifiesObserversForKey(java.lang.String key) |
static void |
cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget) |
static void |
cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument) |
static NSArray<java.lang.String> |
classFallbacksForKeyedArchiver() |
static org.moe.natj.objc.Class |
classForKeyedUnarchiver() |
static long |
currentRevision() |
static java.lang.String |
debugDescription_static() |
static long |
defaultRevision() |
static java.lang.String |
description_static() |
static long |
hash_static() |
VNDetectTrajectoriesRequest |
init()
Creates a new VNRequest with no completion handler.
|
VNDetectTrajectoriesRequest |
initWithCompletionHandler(VNRequest.Block_initWithCompletionHandler completionHandler)
Creates a new VNRequest with an optional completion handler.
|
VNDetectTrajectoriesRequest |
initWithFrameAnalysisSpacingCompletionHandler(CMTime frameAnalysisSpacing,
VNStatefulRequest.Block_initWithFrameAnalysisSpacingCompletionHandler completionHandler)
Create a new video-based stateful request.
|
VNDetectTrajectoriesRequest |
initWithFrameAnalysisSpacingTrajectoryLengthCompletionHandler(CMTime frameAnalysisSpacing,
long trajectoryLength,
VNDetectTrajectoriesRequest.Block_initWithFrameAnalysisSpacingTrajectoryLengthCompletionHandler completionHandler)
Create a new request that will detect the trajectory of a shape in motion.
|
static NSObject.Function_instanceMethodForSelector_ret |
instanceMethodForSelector(org.moe.natj.objc.SEL aSelector) |
static NSMethodSignature |
instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
instancesRespondToSelector(org.moe.natj.objc.SEL aSelector) |
static boolean |
isSubclassOfClass(org.moe.natj.objc.Class aClass) |
static NSSet<java.lang.String> |
keyPathsForValuesAffectingValueForKey(java.lang.String key) |
float |
maximumObjectSize() |
float |
minimumObjectSize() |
static VNDetectTrajectoriesRequest |
new_objc() |
float |
objectMaximumNormalizedRadius()
Specifies the maximum radius of the bounding circle of the object to be tracked.
|
float |
objectMinimumNormalizedRadius()
Specifies the minimum radius of the bounding circle of the object to be tracked.
|
static boolean |
resolveClassMethod(org.moe.natj.objc.SEL sel) |
static boolean |
resolveInstanceMethod(org.moe.natj.objc.SEL sel) |
NSArray<? extends VNTrajectoryObservation> |
results()
Provides VNTrajectoryObservation results.
|
void |
setMaximumObjectSize(float value) |
void |
setMinimumObjectSize(float value) |
void |
setObjectMaximumNormalizedRadius(float value)
Specifies the maximum radius of the bounding circle of the object to be tracked.
|
void |
setObjectMinimumNormalizedRadius(float value)
Specifies the minimum radius of the bounding circle of the object to be tracked.
|
void |
setTargetFrameTime(CMTime value)
Specifies the desired target frame time for processing trajectory detection.
|
static void |
setVersion_static(long aVersion) |
static org.moe.natj.objc.Class |
superclass_static() |
static NSIndexSet |
supportedRevisions() |
CMTime |
targetFrameTime()
Specifies the desired target frame time for processing trajectory detection.
|
long |
trajectoryLength()
The number of points required to analyze a parabola that indicates a trajectory.
|
static long |
version_static() |
frameAnalysisSpacing, minimumLatencyFrameCount, requestFrameAnalysisSpacingregionOfInterest, setRegionOfInterestcancel, completionHandler, copyWithZone, preferBackgroundProcessing, revision, setPreferBackgroundProcessing, setRevision, setUsesCPUOnly, usesCPUOnlyaccessibilityActivate, 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, willChangeValuesAtIndexesForKeyprotected VNDetectTrajectoriesRequest(org.moe.natj.general.Pointer peer)
public static boolean accessInstanceVariablesDirectly()
public static VNDetectTrajectoriesRequest alloc()
public static VNDetectTrajectoriesRequest allocWithZone(org.moe.natj.general.ptr.VoidPtr zone)
public static boolean automaticallyNotifiesObserversForKey(java.lang.String key)
public static void cancelPreviousPerformRequestsWithTarget(java.lang.Object aTarget)
public static void cancelPreviousPerformRequestsWithTargetSelectorObject(java.lang.Object aTarget,
org.moe.natj.objc.SEL aSelector,
java.lang.Object anArgument)
public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
public static org.moe.natj.objc.Class classForKeyedUnarchiver()
public static long currentRevision()
public static java.lang.String debugDescription_static()
public static long defaultRevision()
public static java.lang.String description_static()
public static long hash_static()
public VNDetectTrajectoriesRequest init()
VNRequestinit in class VNStatefulRequestpublic VNDetectTrajectoriesRequest initWithCompletionHandler(VNRequest.Block_initWithCompletionHandler completionHandler)
VNRequestinitWithCompletionHandler in class VNStatefulRequestcompletionHandler - 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.public VNDetectTrajectoriesRequest initWithFrameAnalysisSpacingCompletionHandler(CMTime frameAnalysisSpacing, VNStatefulRequest.Block_initWithFrameAnalysisSpacingCompletionHandler completionHandler)
VNStatefulRequestinitWithFrameAnalysisSpacingCompletionHandler in class VNStatefulRequestframeAnalysisSpacing - The reciprocal of maximum rate at which buffers will be processed. The request will not process buffers that fall within the frameAnalysisSpacing after it has performed the analysis. The analysis is not done by wall time but by analysis of of the time stamps of the samplebuffers being processed.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.public VNDetectTrajectoriesRequest initWithFrameAnalysisSpacingTrajectoryLengthCompletionHandler(CMTime frameAnalysisSpacing, long trajectoryLength, VNDetectTrajectoriesRequest.Block_initWithFrameAnalysisSpacingTrajectoryLengthCompletionHandler completionHandler)
frameAnalysisSpacing - The reciprocal of the maximum rate at which buffers will be processed. The request will not process buffers that fall within the frameAnalysisSpacing after it has performed the analysis. The analysis is not done by wall time but by analysis of the time stamps of the samplebuffers being processed. This property is for instance useful to throttle the processing on slower devices. If this is set to kCMTimeZero then no frames get skipped in the analysis.trajectoryLength - The number of points required to analyze a parabola that indicates a trajectory. Must be at least 5.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.public static NSObject.Function_instanceMethodForSelector_ret instanceMethodForSelector(org.moe.natj.objc.SEL aSelector)
public static NSMethodSignature instanceMethodSignatureForSelector(org.moe.natj.objc.SEL aSelector)
public static boolean instancesRespondToSelector(org.moe.natj.objc.SEL aSelector)
public static boolean isSubclassOfClass(org.moe.natj.objc.Class aClass)
public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey(java.lang.String key)
public float maximumObjectSize()
public float minimumObjectSize()
public static VNDetectTrajectoriesRequest new_objc()
public float objectMaximumNormalizedRadius()
public float objectMinimumNormalizedRadius()
public static boolean resolveClassMethod(org.moe.natj.objc.SEL sel)
public static boolean resolveInstanceMethod(org.moe.natj.objc.SEL sel)
public NSArray<? extends VNTrajectoryObservation> results()
public void setMaximumObjectSize(float value)
public void setMinimumObjectSize(float value)
public void setObjectMaximumNormalizedRadius(float value)
public void setObjectMinimumNormalizedRadius(float value)
public static void setVersion_static(long aVersion)
public static org.moe.natj.objc.Class superclass_static()
public static NSIndexSet supportedRevisions()
public long trajectoryLength()
public static long version_static()
public void setTargetFrameTime(CMTime value)
public CMTime targetFrameTime()