Package apple.vision

Class VNFaceLandmarkRegion2D

    • Constructor Detail

      • VNFaceLandmarkRegion2D

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static VNFaceLandmarkRegion2D allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • 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()
      • 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()
      • 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)
      • normalizedPoints

        @Nullable
        public @Nullable CGPoint normalizedPoints()
        Obtains the array of normalized landmark points. Provides the address of a buffer containing the array of CGPoints representing the landmark points. This buffer is owned by the target object and is guaranteed to exist as long as the VNFaceLandmarkRegion2D does.
        Returns:
        the address of the array of pointCount points.
      • pointsInImageOfSize

        @NotNull
        public @NotNull CGPoint pointsInImageOfSize​(CGSize imageSize)
        Provides the array of landmark points in the coordinate space of a specific image size. Provides the address of a buffer containing the array of CGPoints representing the landmark points in the coordinate space of a specific image size. This buffer is owned by the target object and is guaranteed to exist as long as the VNFaceLandmarkRegion2D does.
        Parameters:
        imageSize - The pixel dimensions of the image in which the landmark points are being presented.
        Returns:
        the address of the array of pointCount points, or NULL if the conversion could not take place.
      • 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()
      • precisionEstimatesPerPoint

        @Nullable
        public @Nullable NSArray<? extends NSNumber> precisionEstimatesPerPoint()
        Obtains the array of accuracy placement estimates per landmark point. Provides the NSArray object containing landmarks accuracy placement estimates per landmark point. This property is only populated when VNDetectFaceLandmarksRequest object is configured with VNRequestFaceLandmarksConstellation76Points. It is set to nil for other constellations
        Returns:
        NSArray object of NSNumber(s) initialized to floating point values. API-Since: 13.0
      • supportsSecureCoding

        public static boolean supportsSecureCoding()
      • _supportsSecureCoding

        public boolean _supportsSecureCoding()
        Description copied from interface: NSSecureCoding
        This property must return YES on all classes that allow secure coding. Subclasses of classes that adopt NSSecureCoding and override initWithCoder: must also override this method and return YES. The Secure Coding Guide should be consulted when writing methods that decode data.
        Specified by:
        _supportsSecureCoding in interface NSSecureCoding
        Overrides:
        _supportsSecureCoding in class VNFaceLandmarkRegion
      • pointsClassification

        public long pointsClassification()
        Describes how to interpret the points provided by the region. API-Since: 16.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.