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.
Inheritance
System.Object
NormalizedVertex
Inherited Members
System.Object.ToString()
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Google.Cloud.AutoML.V1
Assembly: Google.Cloud.AutoML.V1.dll
Syntax
public sealed class NormalizedVertex : IMessage<NormalizedVertex>, IEquatable<NormalizedVertex>, IDeepCloneable<NormalizedVertex>, IBufferMessage, IMessage
Constructors
NormalizedVertex()
Declaration
public NormalizedVertex()
NormalizedVertex(NormalizedVertex)
Declaration
public NormalizedVertex(NormalizedVertex other)
Parameters
Type | Name | Description |
---|---|---|
NormalizedVertex | other |
Properties
X
Required. Horizontal coordinate.
Declaration
public float X { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Y
Required. Vertical coordinate.
Declaration
public float Y { get; set; }
Property Value
Type | Description |
---|---|
System.Single |