Class VNDetectHumanRectanglesRequest

All Implemented Interfaces:
NSObjectProtocol, ObjCProtocol

public class VNDetectHumanRectanglesRequest
extends VNImageBasedRequest
Since:
Available in iOS 13.0 and later.
  • Field Details

  • Constructor Details

    • VNDetectHumanRectanglesRequest

      public VNDetectHumanRectanglesRequest()
    • VNDetectHumanRectanglesRequest

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

      protected VNDetectHumanRectanglesRequest​(NSObject.SkipInit skipInit)
    • VNDetectHumanRectanglesRequest

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

    • isUpperBodyOnly

      public boolean isUpperBodyOnly()
      Since:
      Available in iOS 15.0 and later.
    • setUpperBodyOnly

      public void setUpperBodyOnly​(boolean v)
      Since:
      Available in iOS 15.0 and later.
    • getResults

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