Class VNDetectFaceRectanglesRequest

All Implemented Interfaces:
NSObjectProtocol, ObjCProtocol

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

  • Constructor Details

    • VNDetectFaceRectanglesRequest

      public VNDetectFaceRectanglesRequest()
    • VNDetectFaceRectanglesRequest

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

      protected VNDetectFaceRectanglesRequest​(NSObject.SkipInit skipInit)
    • VNDetectFaceRectanglesRequest

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

    • getResults

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