Interface TextSegmentOrBuilder (2.46.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
Type Description
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.v1p3beta1.TextFrame frames = 3;

Parameter
Name Description
index int
Returns
Type Description
TextFrame

getFramesCount()

public abstract int getFramesCount()

Information related to the frames where OCR detected text appears.

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

Returns
Type Description
int

getFramesList()

public abstract List<TextFrame> getFramesList()

Information related to the frames where OCR detected text appears.

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

Returns
Type Description
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.v1p3beta1.TextFrame frames = 3;

Parameter
Name Description
index int
Returns
Type Description
TextFrameOrBuilder

getFramesOrBuilderList()

public abstract List<? extends TextFrameOrBuilder> getFramesOrBuilderList()

Information related to the frames where OCR detected text appears.

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

Returns
Type Description
List<? extends com.google.cloud.videointelligence.v1p3beta1.TextFrameOrBuilder>

getSegment()

public abstract VideoSegment getSegment()

Video segment where a text snippet was detected.

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

Returns
Type Description
VideoSegment

The segment.

getSegmentOrBuilder()

public abstract VideoSegmentOrBuilder getSegmentOrBuilder()

Video segment where a text snippet was detected.

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

Returns
Type Description
VideoSegmentOrBuilder

hasSegment()

public abstract boolean hasSegment()

Video segment where a text snippet was detected.

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

Returns
Type Description
boolean

Whether the segment field is set.