Cloud Document AI v1beta3 API - Class Document.Types.Page.Types.Matrix (2.0.0-beta15)

public sealed class Document.Types.Page.Types.Matrix : IMessage<Document.Types.Page.Types.Matrix>, IEquatable<Document.Types.Page.Types.Matrix>, IDeepCloneable<Document.Types.Page.Types.Matrix>, IBufferMessage, IMessage

Reference documentation and code samples for the Cloud Document AI v1beta3 API class Document.Types.Page.Types.Matrix.

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

Inheritance

object > Document.Types.Page.Types.Matrix

Namespace

Google.Cloud.DocumentAI.V1Beta3

Assembly

Google.Cloud.DocumentAI.V1Beta3.dll

Constructors

Matrix()

public Matrix()

Matrix(Matrix)

public Matrix(Document.Types.Page.Types.Matrix other)
Parameter
NameDescription
otherDocumentTypesPageTypesMatrix

Properties

Cols

public int Cols { get; set; }

Number of columns in the matrix.

Property Value
TypeDescription
int

Data

public ByteString Data { get; set; }

The matrix data.

Property Value
TypeDescription
ByteString

Rows

public int Rows { get; set; }

Number of rows in the matrix.

Property Value
TypeDescription
int

Type

public int Type { get; set; }

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

Property Value
TypeDescription
int