Interface TextSegmentOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
TextSegment, TextSegment.Builder

@Generated public interface TextSegmentOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    float
    Confidence for the track of detected text.
    getFrames(int index)
    Information related to the frames where OCR detected text appears.
    int
    Information related to the frames where OCR detected text appears.
    Information related to the frames where OCR detected text appears.
    getFramesOrBuilder(int index)
    Information related to the frames where OCR detected text appears.
    Information related to the frames where OCR detected text appears.
    Video segment where a text snippet was detected.
    Video segment where a text snippet was detected.
    boolean
    Video segment where a text snippet was detected.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasSegment

      boolean hasSegment()
       Video segment where a text snippet was detected.
       
      .google.cloud.videointelligence.v1.VideoSegment segment = 1;
      Returns:
      Whether the segment field is set.
    • getSegment

      VideoSegment getSegment()
       Video segment where a text snippet was detected.
       
      .google.cloud.videointelligence.v1.VideoSegment segment = 1;
      Returns:
      The segment.
    • getSegmentOrBuilder

      VideoSegmentOrBuilder getSegmentOrBuilder()
       Video segment where a text snippet was detected.
       
      .google.cloud.videointelligence.v1.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.v1.TextFrame frames = 3;
    • getFrames

      TextFrame getFrames(int index)
       Information related to the frames where OCR detected text appears.
       
      repeated .google.cloud.videointelligence.v1.TextFrame frames = 3;
    • getFramesCount

      int getFramesCount()
       Information related to the frames where OCR detected text appears.
       
      repeated .google.cloud.videointelligence.v1.TextFrame frames = 3;
    • getFramesOrBuilderList

      List<? extends TextFrameOrBuilder> getFramesOrBuilderList()
       Information related to the frames where OCR detected text appears.
       
      repeated .google.cloud.videointelligence.v1.TextFrame frames = 3;
    • getFramesOrBuilder

      TextFrameOrBuilder getFramesOrBuilder(int index)
       Information related to the frames where OCR detected text appears.
       
      repeated .google.cloud.videointelligence.v1.TextFrame frames = 3;