Class: Google::Cloud::DocumentAI::V1beta3::Document::Page::Matrix
- Inherits:
-
Object
- Object
- Google::Cloud::DocumentAI::V1beta3::Document::Page::Matrix
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/documentai/v1beta3/document.rb
Overview
Representation for transformation matrix, intended to be compatible and used with OpenCV format for image manipulation.
Instance Attribute Summary collapse
-
#cols ⇒ ::Integer
Number of columns in the matrix.
-
#data ⇒ ::String
The matrix data.
-
#rows ⇒ ::Integer
Number of rows in the matrix.
-
#type ⇒ ::Integer
This encodes information about what data type the matrix uses.
Instance Attribute Details
#cols ⇒ ::Integer
Returns Number of columns in the matrix.
283 284 285 286 |
# File 'proto_docs/google/cloud/documentai/v1beta3/document.rb', line 283 class Matrix include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#data ⇒ ::String
Returns The matrix data.
283 284 285 286 |
# File 'proto_docs/google/cloud/documentai/v1beta3/document.rb', line 283 class Matrix include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#rows ⇒ ::Integer
Returns Number of rows in the matrix.
283 284 285 286 |
# File 'proto_docs/google/cloud/documentai/v1beta3/document.rb', line 283 class Matrix include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#type ⇒ ::Integer
Returns 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.
283 284 285 286 |
# File 'proto_docs/google/cloud/documentai/v1beta3/document.rb', line 283 class Matrix include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |