- 2.51.0 (latest)
- 2.50.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.13
- 2.1.0
- 2.0.27
public interface TextSegmentOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
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.v1.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.v1.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.v1.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.v1.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.v1.TextFrame frames = 3;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.videointelligence.v1.TextFrameOrBuilder> |
getSegment()
public abstract VideoSegment getSegment()
Video segment where a text snippet was detected.
.google.cloud.videointelligence.v1.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.v1.VideoSegment segment = 1;
Returns | |
---|---|
Type | Description |
VideoSegmentOrBuilder |
hasSegment()
public abstract boolean hasSegment()
Video segment where a text snippet was detected.
.google.cloud.videointelligence.v1.VideoSegment segment = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the segment field is set. |