public sealed class NormalizedVertex : IMessage<NormalizedVertex>, IEquatable<NormalizedVertex>, IDeepCloneable<NormalizedVertex>, IBufferMessage, IMessage
Reference documentation and code samples for the Google AutoML v1 API class 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.
Implements
IMessageNormalizedVertex, IEquatableNormalizedVertex, IDeepCloneableNormalizedVertex, IBufferMessage, IMessageNamespace
Google.Cloud.AutoML.V1Assembly
Google.Cloud.AutoML.V1.dll
Constructors
NormalizedVertex()
public NormalizedVertex()
NormalizedVertex(NormalizedVertex)
public NormalizedVertex(NormalizedVertex other)
Parameter | |
---|---|
Name | Description |
other |
NormalizedVertex |
Properties
X
public float X { get; set; }
Required. Horizontal coordinate.
Property Value | |
---|---|
Type | Description |
float |
Y
public float Y { get; set; }
Required. Vertical coordinate.
Property Value | |
---|---|
Type | Description |
float |