FormXDocumentSegmentationDetector

@available(iOS 15.0, macOS 12.0, *)
public class FormXDocumentSegmentationDetector : FormXDocumentDetector

Detects document in image using VNDetectDocumentSegmentationRequest.

  • Undocumented

    Declaration

    Swift

    public init()
  • Detects document in input image with specified orientation.

    Declaration

    Swift

    public func detect(image: CIImage, orientation: CGImagePropertyOrientation)
      -> FormXDocumentRegion?