GoogleCloudDocumentaiV1DocumentPageMatrixResponse

data class GoogleCloudDocumentaiV1DocumentPageMatrixResponse(val cols: Int, val data: String, val rows: Int, val type: Int)

Representation for transformation matrix, intended to be compatible and used with OpenCV format for image manipulation.

Constructors

constructor(cols: Int, data: String, rows: Int, type: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val cols: Int

Number of columns in the matrix.

Link copied to clipboard

The matrix data.

Link copied to clipboard
val rows: Int

Number of rows in the matrix.

Link copied to clipboard
val type: Int

This encodes information about what data type the matrix uses. For example, 0 (CV_8U) is an unsigned 8-bit image. For the full list of OpenCV primitive data types, please refer to https://docs.opencv.org/4.3.0/d1/d1b/group__core__hal__interface.html