NAME
Google::Cloud::Automl::V1beta1::Geometry - Compiled Protocol Buffers messages for google/cloud/automl/v1beta1/geometry.proto
SYNOPSIS
use Google::Cloud::Automl::V1beta1::Geometry;
my $msg = Google::Cloud::Automl::V1beta1::Geometry::NormalizedVertex->new({
x => $x,
y => $y,
});
# Read or update a field
my $val = $msg->x();
# Binary wire-format roundtrip
my $bytes = $msg->serialize();
my $decoded = Google::Cloud::Automl::V1beta1::Geometry::NormalizedVertex->parse($bytes);
# Canonical ProtoJSON
my $json = $msg->to_json();
DESCRIPTION
Auto-generated Protobuf message classes compiled from google/cloud/automl/v1beta1/geometry.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().
MESSAGES
Google::Cloud::Automl::V1beta1::Geometry::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 from Protobuf::Message.
Accessors
$msg->x()/$msg->x($value)Type:
FloatRequired. Horizontal coordinate.
$msg->y()/$msg->y($value)Type:
FloatRequired. Vertical coordinate.
Google::Cloud::Automl::V1beta1::Geometry::BoundingPoly
A bounding polygon of a detected object on a plane. On output both vertices and normalized_vertices are provided. The polygon is formed by connecting vertices in the order they are listed.
Inherits from Protobuf::Message.
Accessors
$msg->normalized_vertices()/$msg->normalized_vertices($value)Type:
Message(Google::Cloud::Automl::V1beta1::Geometry::NormalizedVertex)Output only . The bounding polygon normalized vertices.
SEE ALSO
Protobuf, Protobuf::Message, Google::Cloud::Automl::V1beta1::Geometry::Types, https://protobuf.dev/
LICENSE AND COPYRIGHT
Copyright (C) 2026 Google LLC
This program is released under the Apache 2.0 license.