GoogleApi.DocumentAI.V1beta2.Model.GoogleCloudDocumentaiV1beta1DocumentPageMatrix (google_api_document_ai v0.21.0) View Source

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

Attributes

  • cols (type: integer(), default: nil) - Number of columns in the matrix.
  • data (type: String.t, default: nil) - The matrix data.
  • rows (type: integer(), default: nil) - Number of rows in the matrix.
  • type (type: integer(), default: nil) - 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

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() ::
  %GoogleApi.DocumentAI.V1beta2.Model.GoogleCloudDocumentaiV1beta1DocumentPageMatrix{
    cols: integer() | nil,
    data: String.t() | nil,
    rows: integer() | nil,
    type: integer() | nil
  }

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.