Interface DetectedLandmarkOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DetectedLandmark,DetectedLandmark.Builder
public interface DetectedLandmarkOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description floatgetConfidence()The confidence score of the detected landmark.StringgetName()The name of this landmark, for example, left_hand, right_shoulder.com.google.protobuf.ByteStringgetNameBytes()The name of this landmark, for example, left_hand, right_shoulder.NormalizedVertexgetPoint()The 2D point of the detected landmark using the normalized image coordindate system.NormalizedVertexOrBuildergetPointOrBuilder()The 2D point of the detected landmark using the normalized image coordindate system.booleanhasPoint()The 2D point of the detected landmark using the normalized image coordindate system.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
The name of this landmark, for example, left_hand, right_shoulder.
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
The name of this landmark, for example, left_hand, right_shoulder.
string name = 1;- Returns:
- The bytes for name.
-
hasPoint
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:
- Whether the point field is set.
-
getPoint
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:
- The point.
-
getPointOrBuilder
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;
-
getConfidence
float getConfidence()
The confidence score of the detected landmark. Range [0, 1].
float confidence = 3;- Returns:
- The confidence.
-
-