[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Document Ai V1 Client - Class Matrix (2.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.3.0 (latest)](/php/docs/reference/cloud-document-ai/latest/V1.Document.Page.Matrix)\n- [2.2.2](/php/docs/reference/cloud-document-ai/2.2.2/V1.Document.Page.Matrix)\n- [2.1.3](/php/docs/reference/cloud-document-ai/2.1.3/V1.Document.Page.Matrix)\n- [2.0.0](/php/docs/reference/cloud-document-ai/2.0.0/V1.Document.Page.Matrix)\n- [1.14.0](/php/docs/reference/cloud-document-ai/1.14.0/V1.Document.Page.Matrix)\n- [1.13.1](/php/docs/reference/cloud-document-ai/1.13.1/V1.Document.Page.Matrix)\n- [1.12.2](/php/docs/reference/cloud-document-ai/1.12.2/V1.Document.Page.Matrix)\n- [1.9.0](/php/docs/reference/cloud-document-ai/1.9.0/V1.Document.Page.Matrix)\n- [1.8.2](/php/docs/reference/cloud-document-ai/1.8.2/V1.Document.Page.Matrix)\n- [1.7.0](/php/docs/reference/cloud-document-ai/1.7.0/V1.Document.Page.Matrix)\n- [1.6.0](/php/docs/reference/cloud-document-ai/1.6.0/V1.Document.Page.Matrix)\n- [1.5.0](/php/docs/reference/cloud-document-ai/1.5.0/V1.Document.Page.Matrix)\n- [1.4.0](/php/docs/reference/cloud-document-ai/1.4.0/V1.Document.Page.Matrix)\n- [1.3.0](/php/docs/reference/cloud-document-ai/1.3.0/V1.Document.Page.Matrix)\n- [1.2.2](/php/docs/reference/cloud-document-ai/1.2.2/V1.Document.Page.Matrix)\n- [1.1.1](/php/docs/reference/cloud-document-ai/1.1.1/V1.Document.Page.Matrix)\n- [1.0.1](/php/docs/reference/cloud-document-ai/1.0.1/V1.Document.Page.Matrix) \nReference documentation and code samples for the Google Cloud Document Ai V1 Client class Matrix.\n\nRepresentation for transformation matrix, intended to be compatible and\nused with OpenCV format for image manipulation.\n\nGenerated from protobuf message `google.cloud.documentai.v1.Document.Page.Matrix`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ DocumentAI \\\\ V1 \\\\ Document \\\\ Page\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getRows\n\nNumber of rows in the matrix.\n\n### setRows\n\nNumber of rows in the matrix.\n\n### getCols\n\nNumber of columns in the matrix.\n\n### setCols\n\nNumber of columns in the matrix.\n\n### getType\n\nThis encodes information about what data type the matrix uses.\n\nFor example, 0 (CV_8U) is an unsigned 8-bit image. For the full list\nof OpenCV primitive data types, please refer to\n\u003chttps://docs.opencv.org/4.3.0/d1/d1b/group__core__hal__interface.html\u003e\n\n### setType\n\nThis encodes information about what data type the matrix uses.\n\nFor example, 0 (CV_8U) is an unsigned 8-bit image. For the full list\nof OpenCV primitive data types, please refer to\n\u003chttps://docs.opencv.org/4.3.0/d1/d1b/group__core__hal__interface.html\u003e\n\n### getData\n\nThe matrix data.\n\n### setData\n\nThe matrix data."]]