FormXDeskewer

public protocol FormXDeskewer

FormXDeskewer deskews the image to a rectangle.

  • Deskew the image to a rectangle.

    Declaration

    Swift

    func deskew(image: CIImage, size: CGSize, vertices: [CGPoint]) -> CIImage
  • Estimate the output size of the deskewed image.

    Declaration

    Swift

    func estimateOutputSize(vertices: [CGPoint]) -> CGSize