Interface TextSegmentOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TextSegment,TextSegment.Builder
public interface TextSegmentOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description floatgetConfidence()Confidence for the track of detected text.TextFramegetFrames(int index)Information related to the frames where OCR detected text appears.intgetFramesCount()Information related to the frames where OCR detected text appears.List<TextFrame>getFramesList()Information related to the frames where OCR detected text appears.TextFrameOrBuildergetFramesOrBuilder(int index)Information related to the frames where OCR detected text appears.List<? extends TextFrameOrBuilder>getFramesOrBuilderList()Information related to the frames where OCR detected text appears.VideoSegmentgetSegment()Video segment where a text snippet was detected.VideoSegmentOrBuildergetSegmentOrBuilder()Video segment where a text snippet was detected.booleanhasSegment()Video segment where a text snippet was detected.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasSegment
boolean hasSegment()
Video segment where a text snippet was detected.
.google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 1;- Returns:
- Whether the segment field is set.
-
getSegment
VideoSegment getSegment()
Video segment where a text snippet was detected.
.google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 1;- Returns:
- The segment.
-
getSegmentOrBuilder
VideoSegmentOrBuilder getSegmentOrBuilder()
Video segment where a text snippet was detected.
.google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 1;
-
getConfidence
float getConfidence()
Confidence for the track of detected text. It is calculated as the highest over all frames where OCR detected text appears.
float confidence = 2;- Returns:
- The confidence.
-
getFramesList
List<TextFrame> getFramesList()
Information related to the frames where OCR detected text appears.
repeated .google.cloud.videointelligence.v1p2beta1.TextFrame frames = 3;
-
getFrames
TextFrame getFrames(int index)
Information related to the frames where OCR detected text appears.
repeated .google.cloud.videointelligence.v1p2beta1.TextFrame frames = 3;
-
getFramesCount
int getFramesCount()
Information related to the frames where OCR detected text appears.
repeated .google.cloud.videointelligence.v1p2beta1.TextFrame frames = 3;
-
getFramesOrBuilderList
List<? extends TextFrameOrBuilder> getFramesOrBuilderList()
Information related to the frames where OCR detected text appears.
repeated .google.cloud.videointelligence.v1p2beta1.TextFrame frames = 3;
-
getFramesOrBuilder
TextFrameOrBuilder getFramesOrBuilder(int index)
Information related to the frames where OCR detected text appears.
repeated .google.cloud.videointelligence.v1p2beta1.TextFrame frames = 3;
-
-