View Source GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentPageMatrix (google_api_content_warehouse v0.5.0)

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

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentPageMatrix{
    cols: integer() | nil,
    data: String.t() | nil,
    rows: integer() | nil,
    type: integer() | nil
  }

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.