Cell

public struct Cell
  • Declaration

    Swift

    public let text: String
  • The location of the recognized text on the image. It includes an axis-aligned, coarse bounding box that surrounds the text in the table

    Declaration

    Swift

    public let boundingBox: CGRect
  • The location of the recognized text on the image in a finer-grain polygon than the bounding box for more accurate spatial information of where the text is in the table

    Declaration

    Swift

    public let polygon: Predictions.Polygon
  • Declaration

    Swift

    public let isSelected: Bool
  • Declaration

    Swift

    public let rowIndex: Int
  • Declaration

    Swift

    public let columnIndex: Int
  • Declaration

    Swift

    public let rowSpan: Int
  • Declaration

    Swift

    public let columnSpan: Int
  • Declaration

    Swift

    public init(
        text: String,
        boundingBox: CGRect,
        polygon: Predictions.Polygon,
        isSelected: Bool,
        rowIndex: Int,
        columnIndex: Int,
        rowSpan: Int,
        columnSpan: Int
    )