public static interface Document.Page.MatrixOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
int |
getCols()
Number of columns in the matrix.
|
com.google.protobuf.ByteString |
getData()
The matrix data.
|
int |
getRows()
Number of rows in the matrix.
|
int |
getType()
This encodes information about what data type the matrix uses.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofint getRows()
Number of rows in the matrix.
int32 rows = 1;int getCols()
Number of columns in the matrix.
int32 cols = 2;int getType()
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
int32 type = 3;com.google.protobuf.ByteString getData()
The matrix data.
bytes data = 4;Copyright © 2023 Google LLC. All rights reserved.