Class VNDetectRectanglesRequest

All Implemented Interfaces:
NSObjectProtocol, ObjCProtocol

public class VNDetectRectanglesRequest
extends VNImageBasedRequest
Since:
Available in iOS 11.0 and later.
  • Field Details

  • Constructor Details

    • VNDetectRectanglesRequest

      public VNDetectRectanglesRequest()
    • VNDetectRectanglesRequest

      protected VNDetectRectanglesRequest​(NSObject.Handle h, long handle)
    • VNDetectRectanglesRequest

      protected VNDetectRectanglesRequest​(NSObject.SkipInit skipInit)
    • VNDetectRectanglesRequest

      public VNDetectRectanglesRequest​(VoidBlock2<VNRequest,​NSError> completionHandler)
  • Method Details

    • getMinimumAspectRatio

      public float getMinimumAspectRatio()
    • setMinimumAspectRatio

      public void setMinimumAspectRatio​(float v)
    • getMaximumAspectRatio

      public float getMaximumAspectRatio()
    • setMaximumAspectRatio

      public void setMaximumAspectRatio​(float v)
    • getQuadratureTolerance

      public float getQuadratureTolerance()
    • setQuadratureTolerance

      public void setQuadratureTolerance​(float v)
    • getMinimumSize

      public float getMinimumSize()
    • setMinimumSize

      public void setMinimumSize​(float v)
    • getMinimumConfidence

      public float getMinimumConfidence()
    • setMinimumConfidence

      public void setMinimumConfidence​(float v)
    • getMaximumObservations

      public long getMaximumObservations()
    • setMaximumObservations

      public void setMaximumObservations​(long v)
    • getResults

      public NSArray<VNRectangleObservation> getResults()
      Overrides:
      getResults in class VNRequest
    • getSupportedRevisions

      public static NSIndexSet getSupportedRevisions()
      Since:
      Available in iOS 12.0 and later.
    • getDefaultRevision

      public static long getDefaultRevision()
      Since:
      Available in iOS 12.0 and later.
    • getCurrentRevision

      public static long getCurrentRevision()
      Since:
      Available in iOS 12.0 and later.