Package apple.vision

Class VNFaceLandmarks2D

  • All Implemented Interfaces:
    NSCoding, NSCopying, NSSecureCoding, NSObject, VNRequestRevisionProviding

    public class VNFaceLandmarks2D
    extends VNFaceLandmarks
    VNFaceLandmarks2D VNFaceLandmarks2D is the result of a face landmarks 2D request, containing detected facial landmark points organized into VNFaceLandmarkRegion2D regions. The points are accessible as a full list, or as sub-gruops representing pre-defined facial regions.
    • Constructor Detail

      • VNFaceLandmarks2D

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allPoints

        public VNFaceLandmarkRegion2D allPoints()
        allPoints the region containing all face landmark points.
      • 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()
      • faceContour

        public VNFaceLandmarkRegion2D faceContour()
        faceContour the region containing the points that describe the face contour from cheek over chin to cheek.
      • hash_static

        public static long hash_static()
      • innerLips

        public VNFaceLandmarkRegion2D innerLips()
        innerLips the region containing the points describing the outline of the space between the of the lips.
      • 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)
      • leftEye

        public VNFaceLandmarkRegion2D leftEye()
        leftEye the region containing the points describing the outline of the left eye.
      • leftEyebrow

        public VNFaceLandmarkRegion2D leftEyebrow()
        leftEyebrow the region containing the points describing the trace of the left eyebrow.
      • leftPupil

        public VNFaceLandmarkRegion2D leftPupil()
        leftPupil the region containing the point where the left pupil is located. This value may be inaccurate if the face isBlinking.
      • medianLine

        public VNFaceLandmarkRegion2D medianLine()
        medianLine the region containing the points describing the trace of the center line of the face.
      • new_objc

        public static java.lang.Object new_objc()
      • nose

        public VNFaceLandmarkRegion2D nose()
        nose the region containing the points describing the outline of the nose.
      • noseCrest

        public VNFaceLandmarkRegion2D noseCrest()
        noseCrest the region containing the points describing the trace of the center crest of the nose.
      • outerLips

        public VNFaceLandmarkRegion2D outerLips()
        outer lips the region containing the points describing the outline of the outside of the lips.
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • rightEye

        public VNFaceLandmarkRegion2D rightEye()
        rightEye the region containing the points describing the outline of the right eye.
      • rightEyebrow

        public VNFaceLandmarkRegion2D rightEyebrow()
        rightEyebrow the region containing the points describing the trace of the right eyebrow.
      • rightPupil

        public VNFaceLandmarkRegion2D rightPupil()
        rightPupil the region containing the point where the right pupil is located. This value may be inaccurate if the face isBlinking.
      • 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()
      • 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 VNFaceLandmarks