Reference documentation and code samples for the Cloud AutoML V1 API class Google::Cloud::AutoML::V1::NormalizedVertex.
A vertex represents a 2D point in the image. The normalized vertex coordinates are between 0 to 1 fractions relative to the original plane (image, video). E.g. if the plane (e.g. whole image) would have size 10 x 20 then a point with normalized coordinates (0.1, 0.3) would be at the position (1, 6) on that plane.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#x
def x() -> ::Float
- (::Float) — Required. Horizontal coordinate.
#x=
def x=(value) -> ::Float
- value (::Float) — Required. Horizontal coordinate.
- (::Float) — Required. Horizontal coordinate.
#y
def y() -> ::Float
- (::Float) — Required. Vertical coordinate.
#y=
def y=(value) -> ::Float
- value (::Float) — Required. Vertical coordinate.
- (::Float) — Required. Vertical coordinate.