Package apple.vision

Class VNRecognizedPointsObservation

    • Constructor Detail

      • VNRecognizedPointsObservation

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(java.lang.String key)
      • availableGroupKeys

        public NSArray<java.lang.String> availableGroupKeys()
        The availableGroupKeys property returns all of the point group labels usable with the observation.
      • availableKeys

        public NSArray<java.lang.String> availableKeys()
        Returns all of the point group keys available in the observation.
      • 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()
      • 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)
      • keypointsMultiArrayAndReturnError

        public MLMultiArray keypointsMultiArrayAndReturnError​(org.moe.natj.general.ptr.Ptr<NSError> error)
        Returns the recognized points packaged into an MLMultiArray. The MLMultiArray will contain the raw data output of (x coordinate, y coordinate, confidence) for specific points in the format expected by CreateML action recognition models. The datatype of the elements in the array is double and the dimensions are [1, 3, # of possible points]. If an expected point key is not available in the obeservation, that entry in the MLMultiArray will be populated with 0s.
        Parameters:
        error - The address of a variable that will be populated with the error that describes the failure. If the caller does not require this information, NULL can be passed.
        Returns:
        the MLMultiArray representation of the points, or nil if an error was encountered.
      • new_objc

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

        public VNRecognizedPoint recognizedPointForKeyError​(java.lang.String pointKey,
                                                            org.moe.natj.general.ptr.Ptr<NSError> error)
        Obtains a specific normalized recognized point.
        Parameters:
        pointKey - The key specifying the desired recognized point.
        error - The address of a variable that will be populated with the error that describes the failure. If the caller does not require this information, NULL can be passed.
        Returns:
        the recognized point, or nil if the specific point is not defined.
      • recognizedPointsForGroupKeyError

        public NSDictionary<java.lang.String,​? extends VNRecognizedPoint> recognizedPointsForGroupKeyError​(java.lang.String groupKey,
                                                                                                                 org.moe.natj.general.ptr.Ptr<NSError> error)
        Obtains the collection of points associated with an identified grouping. The obtained collection is a dictionary that provides the mapping of a recognized point's key to the recognized point.
        Parameters:
        groupKey - The key representing a specific grouping of points.
        error - The address of a variable that will be populated with the error that describes the failure. If the caller does not require this information, NULL can be passed.
        Returns:
        the dictionary of recognized points in the group, or nil if an error was encountered.
      • 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()
      • 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 VNObservation
      • version_static

        public static long version_static()