Class: Google::Cloud::DataLabeling::V1beta1::NormalizedVertex
- Inherits:
-
Object
- Object
- Google::Cloud::DataLabeling::V1beta1::NormalizedVertex
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/datalabeling/v1beta1/annotation.rb
Overview
A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1.
Instance Attribute Summary collapse
-
#x ⇒ ::Float
X coordinate.
-
#y ⇒ ::Float
Y coordinate.
Instance Attribute Details
#x ⇒ ::Float
Returns X coordinate.
119 120 121 122 |
# File 'proto_docs/google/cloud/datalabeling/v1beta1/annotation.rb', line 119 class NormalizedVertex include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#y ⇒ ::Float
Returns Y coordinate.
119 120 121 122 |
# File 'proto_docs/google/cloud/datalabeling/v1beta1/annotation.rb', line 119 class NormalizedVertex include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |