FormXBarcodeRegion

public struct FormXBarcodeRegion

A region containing barcode in a image. Coordinates are normalized within [0, 1) range, with the origin at the bottom-left corner of the image.

  • The containing image of the document region.

    Declaration

    Swift

    public let image: CIImage
  • The orientation of the containing image.

    Declaration

    Swift

    public let orientation: CGImagePropertyOrientation
  • The top-left point of the document region.

    Declaration

    Swift

    public let topLeft: CGPoint
  • The top-right point of the document region.

    Declaration

    Swift

    public let topRight: CGPoint
  • The bottom-left point of the document region.

    Declaration

    Swift

    public let bottomLeft: CGPoint
  • The bottom-right point of the document region.

    Declaration

    Swift

    public let bottomRight: CGPoint
  • The bounding box of the document region.

    Declaration

    Swift

    public let boundingBox: CGRect
  • The type of the detected barcode

    Declaration

    Swift

    public let type: FormXBarcodeType
  • The payload data contained in the barcode

    Declaration

    Swift

    public let data: String