Interface DetectedLandmarkOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DetectedLandmark,DetectedLandmark.Builder
@Generated
public interface DetectedLandmarkOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionfloatThe confidence score of the detected landmark.getName()The name of this landmark, for example, left_hand, right_shoulder.com.google.protobuf.ByteStringThe name of this landmark, for example, left_hand, right_shoulder.getPoint()The 2D point of the detected landmark using the normalized image coordindate system.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.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.
-