Package apple.vision

Class VNDetectHumanBodyPose3DRequest

  • All Implemented Interfaces:
    NSCopying, NSObject

    public class VNDetectHumanBodyPose3DRequest
    extends VNStatefulRequest
    A request that detects specific landmark points on human bodies in 3D space relative to the camera. When possible,`AVDepthData` depth information is used to produce more accurate results, but the request does not require it to run. This request generates a collection of VNHumanBodyPose3DObservation objects which describe the position of each detected body API-Since: 17.0
    • Constructor Detail

      • VNDetectHumanBodyPose3DRequest

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • 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()
      • currentRevision

        public static long currentRevision()
      • debugDescription_static

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

        public static long defaultRevision()
      • description_static

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

        public static long hash_static()
      • initWithFrameAnalysisSpacingCompletionHandler

        public VNDetectHumanBodyPose3DRequest initWithFrameAnalysisSpacingCompletionHandler​(CMTime frameAnalysisSpacing,
                                                                                            @Nullable
                                                                                            VNStatefulRequest.Block_initWithFrameAnalysisSpacingCompletionHandler completionHandler)
        Description copied from class: VNStatefulRequest
        Create a new video-based stateful request.
        Overrides:
        initWithFrameAnalysisSpacingCompletionHandler in class VNStatefulRequest
        Parameters:
        frameAnalysisSpacing - 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.
      • 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()
      • supportedJointNamesAndReturnError

        @Nullable
        public @Nullable NSArray<java.lang.String> supportedJointNamesAndReturnError​(@Nullable
                                                                                     @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)
        Obtain the collection of human body joint names that are supported by a given request revision.
        Parameters:
        error - The address of a variable that will be populated with an error upon failure. If the caller does not need this information, NULL can be passed.
        Returns:
        An array of VNHumanBodyPose3DObservationJointName symbols that are supported by the request revision, or nil if a failure occurs.
      • supportedJointsGroupNamesAndReturnError

        @Nullable
        public @Nullable NSArray<java.lang.String> supportedJointsGroupNamesAndReturnError​(@Nullable
                                                                                           @Nullable org.moe.natj.general.ptr.Ptr<NSError> error)
        Obtain the collection of human body joints group names that are supported by a request object configured with a request revision.
        Parameters:
        error - The address of a variable that will be populated with an error upon failure. If the caller does not need this information, NULL can be passed.
        Returns:
        An array of VNHumanBody3DPoseObservationJointsGroupName symbols that are supported by the request, or nil if a failure occurs.
      • supportedRevisions

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

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.
      • version_static

        public static long version_static()