Package apple.vision

Class VNDetectRectanglesRequest

  • All Implemented Interfaces:
    NSCopying, NSObject

    public class VNDetectRectanglesRequest
    extends VNImageBasedRequest
    A request that will detect rectangles in an image. This request will generate VNRectangleObservation objects describing the location of rectangles detected in an image.
    • Constructor Detail

      • VNDetectRectanglesRequest

        protected VNDetectRectanglesRequest​(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)
      • 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)
      • maximumAspectRatio

        public float maximumAspectRatio()
        Specifies the maximum aspect ratio of the rectangle(s) to look for, range [0.0, 1.0], default 1.0
      • maximumObservations

        public long maximumObservations()
        Specifies the maximum number of rectangles to be returned. The default is 1. Setting this property to 0 will allow an unlimited number of observations to be returned.
      • minimumAspectRatio

        public float minimumAspectRatio()
        Specifies the minimum aspect ratio of the rectangle(s) to look for, range [0.0, 1.0], default 0.5
      • minimumConfidence

        public float minimumConfidence()
        Specifies a minimum confidence score, range [0.0, 1.0], default 0.0. Any rectangles with a lower confidence score will not be returned.
      • minimumSize

        public float minimumSize()
        Specifies the minimum size of the rectangle to be detected, as a proportion of the smallest dimension, range [0.0, 1.0], default .2. Any smaller rectangles that may have been detected will not be returned.
      • new_objc

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

        public float quadratureTolerance()
        Specifies the maximum number of degrees a rectangle corner angle can deviate from 90 degrees, range [0,45], default 30
      • resolveClassMethod

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

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

        public void setMaximumAspectRatio​(float value)
        Specifies the maximum aspect ratio of the rectangle(s) to look for, range [0.0, 1.0], default 1.0
      • setMaximumObservations

        public void setMaximumObservations​(long value)
        Specifies the maximum number of rectangles to be returned. The default is 1. Setting this property to 0 will allow an unlimited number of observations to be returned.
      • setMinimumAspectRatio

        public void setMinimumAspectRatio​(float value)
        Specifies the minimum aspect ratio of the rectangle(s) to look for, range [0.0, 1.0], default 0.5
      • setMinimumConfidence

        public void setMinimumConfidence​(float value)
        Specifies a minimum confidence score, range [0.0, 1.0], default 0.0. Any rectangles with a lower confidence score will not be returned.
      • setMinimumSize

        public void setMinimumSize​(float value)
        Specifies the minimum size of the rectangle to be detected, as a proportion of the smallest dimension, range [0.0, 1.0], default .2. Any smaller rectangles that may have been detected will not be returned.
      • setQuadratureTolerance

        public void setQuadratureTolerance​(float value)
        Specifies the maximum number of degrees a rectangle corner angle can deviate from 90 degrees, range [0,45], default 30
      • 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()
      • currentRevision

        public static long currentRevision()
      • defaultRevision

        public static long defaultRevision()
      • supportedRevisions

        public static NSIndexSet supportedRevisions()