DocumentDimensions(mapping=None, *, ignore_unknown_fields=False, **kwargs)
Message that describes dimension of a document.
Attributes
Name | Description |
unit |
google.cloud.automl_v1.types.DocumentDimensions.DocumentDimensionUnit
Unit of the dimension. |
width |
float
Width value of the document, works together with the unit. |
height |
float
Height value of the document, works together with the unit. |
Classes
DocumentDimensionUnit
DocumentDimensionUnit(value)
Unit of the document dimension.
Values: DOCUMENT_DIMENSION_UNIT_UNSPECIFIED (0): Should not be used. INCH (1): Document dimension is measured in inches. CENTIMETER (2): Document dimension is measured in centimeters. POINT (3): Document dimension is measured in points. 72 points = 1 inch.