Class VNDetectDocumentSegmentationRequest

All Implemented Interfaces:
NSObjectProtocol, ObjCProtocol

public class VNDetectDocumentSegmentationRequest
extends VNImageBasedRequest
Since:
Available in iOS 15.0 and later.
  • Constructor Details

    • VNDetectDocumentSegmentationRequest

      public VNDetectDocumentSegmentationRequest()
    • VNDetectDocumentSegmentationRequest

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

      protected VNDetectDocumentSegmentationRequest​(NSObject.SkipInit skipInit)
    • VNDetectDocumentSegmentationRequest

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

    • 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.