Interface TextSegmentOrBuilder (2.2.0)

public interface TextSegmentOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConfidence()

public abstract 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
TypeDescription
float

The confidence.

getFrames(int index)

public abstract TextFrame getFrames(int index)

Information related to the frames where OCR detected text appears.

repeated .google.cloud.videointelligence.v1p2beta1.TextFrame frames = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
TextFrame

getFramesCount()

public abstract int getFramesCount()

Information related to the frames where OCR detected text appears.

repeated .google.cloud.videointelligence.v1p2beta1.TextFrame frames = 3;

Returns
TypeDescription
int

getFramesList()

public abstract List<TextFrame> getFramesList()

Information related to the frames where OCR detected text appears.

repeated .google.cloud.videointelligence.v1p2beta1.TextFrame frames = 3;

Returns
TypeDescription
List<TextFrame>

getFramesOrBuilder(int index)

public abstract TextFrameOrBuilder getFramesOrBuilder(int index)

Information related to the frames where OCR detected text appears.

repeated .google.cloud.videointelligence.v1p2beta1.TextFrame frames = 3;

Parameter
NameDescription
indexint
Returns
TypeDescription
TextFrameOrBuilder

getFramesOrBuilderList()

public abstract List<? extends TextFrameOrBuilder> getFramesOrBuilderList()

Information related to the frames where OCR detected text appears.

repeated .google.cloud.videointelligence.v1p2beta1.TextFrame frames = 3;

Returns
TypeDescription
List<? extends com.google.cloud.videointelligence.v1p2beta1.TextFrameOrBuilder>

getSegment()

public abstract VideoSegment getSegment()

Video segment where a text snippet was detected.

.google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 1;

Returns
TypeDescription
VideoSegment

The segment.

getSegmentOrBuilder()

public abstract VideoSegmentOrBuilder getSegmentOrBuilder()

Video segment where a text snippet was detected.

.google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 1;

Returns
TypeDescription
VideoSegmentOrBuilder

hasSegment()

public abstract boolean hasSegment()

Video segment where a text snippet was detected.

.google.cloud.videointelligence.v1p2beta1.VideoSegment segment = 1;

Returns
TypeDescription
boolean

Whether the segment field is set.