Class VNDetectContoursRequest

All Implemented Interfaces:
NSObjectProtocol, ObjCProtocol

public class VNDetectContoursRequest
extends VNImageBasedRequest
Since:
Available in iOS 14.0 and later.
  • Field Details

  • Constructor Details

    • VNDetectContoursRequest

      public VNDetectContoursRequest()
    • VNDetectContoursRequest

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

      protected VNDetectContoursRequest​(NSObject.SkipInit skipInit)
    • VNDetectContoursRequest

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

    • getContrastAdjustment

      public float getContrastAdjustment()
    • setContrastAdjustment

      public void setContrastAdjustment​(float v)
    • getContrastPivot

      public NSNumber getContrastPivot()
      Since:
      Available in iOS 15.0 and later.
    • setContrastPivot

      public void setContrastPivot​(NSNumber v)
      Since:
      Available in iOS 15.0 and later.
    • isDetectsDarkOnLight

      public boolean isDetectsDarkOnLight()
    • setDetectsDarkOnLight

      public void setDetectsDarkOnLight​(boolean v)
    • isDetectDarkOnLight

      @Deprecated public boolean isDetectDarkOnLight()
      Deprecated.
      Deprecated in iOS 14.0. Use -detectsDarkOnLight
      Since:
      Available in iOS 14.0 and later.
    • setDetectDarkOnLight

      @Deprecated public void setDetectDarkOnLight​(boolean v)
      Deprecated.
      Deprecated in iOS 14.0. Use -detectsDarkOnLight
      Since:
      Available in iOS 14.0 and later.
    • getMaximumImageDimension

      public long getMaximumImageDimension()
    • setMaximumImageDimension

      public void setMaximumImageDimension​(long v)
    • getResults

      public NSArray<VNContoursObservation> 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.