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
      float getConfidence()
      Confidence for the track of detected text.
      TextFrame getFrames​(int index)
      Information related to the frames where OCR detected text appears.
      int getFramesCount()
      Information related to the frames where OCR detected text appears.
      List<TextFrame> getFramesList()
      Information related to the frames where OCR detected text appears.
      TextFrameOrBuilder getFramesOrBuilder​(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.
      VideoSegment getSegment()
      Video segment where a text snippet was detected.
      VideoSegmentOrBuilder getSegmentOrBuilder()
      Video segment where a text snippet was detected.
      boolean hasSegment()
      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 Detail

      • 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;