Class: Google::Cloud::AutoML::V1beta1::NormalizedVertex

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/geometry.rb

Overview

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.

Instance Attribute Summary collapse

Instance Attribute Details

#xFloat

Returns Required. Horizontal coordinate.

Returns:

  • (Float)

    Required. Horizontal coordinate.



31
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/geometry.rb', line 31

class NormalizedVertex; end

#yFloat

Returns Required. Vertical coordinate.

Returns:

  • (Float)

    Required. Vertical coordinate.



31
# File 'lib/google/cloud/automl/v1beta1/doc/google/cloud/automl/v1beta1/geometry.rb', line 31

class NormalizedVertex; end