NormalizedVertex¶
-
class
oci.ai_document.models.
NormalizedVertex
(**kwargs)¶ Bases:
object
An (x, y) coordinate in the image with dimensions normalized from zero to one. The origin is at top left, with the positive x-axis pointing right and the positive y-axis pointing down. The bottom right corner is at (1, 1).
Methods
__init__
(**kwargs)Initializes a new NormalizedVertex object with values from keyword arguments. Attributes
x
[Required] Gets the x of this NormalizedVertex. y
[Required] Gets the y of this NormalizedVertex. -
__init__
(**kwargs)¶ Initializes a new NormalizedVertex object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - x (float) – The value to assign to the x property of this NormalizedVertex.
- y (float) – The value to assign to the y property of this NormalizedVertex.
-
x
¶ [Required] Gets the x of this NormalizedVertex. The X-axis normalized coordinate.
Returns: The x of this NormalizedVertex. Return type: float
-
y
¶ [Required] Gets the y of this NormalizedVertex. The Y-axis normalized coordinate.
Returns: The y of this NormalizedVertex. Return type: float
-