Interface DetectedLandmarkOrBuilder (2.2.0)

public interface DetectedLandmarkOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConfidence()

public abstract float getConfidence()

The confidence score of the detected landmark. Range [0, 1].

float confidence = 3;

Returns
TypeDescription
float

The confidence.

getName()

public abstract String getName()

The name of this landmark, for example, left_hand, right_shoulder.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The name of this landmark, for example, left_hand, right_shoulder.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getPoint()

public abstract NormalizedVertex getPoint()

The 2D point of the detected landmark using the normalized image coordindate system. The normalized coordinates have the range from 0 to 1.

.google.cloud.videointelligence.v1.NormalizedVertex point = 2;

Returns
TypeDescription
NormalizedVertex

The point.

getPointOrBuilder()

public abstract NormalizedVertexOrBuilder getPointOrBuilder()

The 2D point of the detected landmark using the normalized image coordindate system. The normalized coordinates have the range from 0 to 1.

.google.cloud.videointelligence.v1.NormalizedVertex point = 2;

Returns
TypeDescription
NormalizedVertexOrBuilder

hasPoint()

public abstract boolean hasPoint()

The 2D point of the detected landmark using the normalized image coordindate system. The normalized coordinates have the range from 0 to 1.

.google.cloud.videointelligence.v1.NormalizedVertex point = 2;

Returns
TypeDescription
boolean

Whether the point field is set.