Interface VideoObjectTrackingAnnotationOrBuilder

    • Method Detail

      • getInstanceId

        String getInstanceId()
         Optional. The instance of the object, expressed as a positive integer. Used to tell
         apart objects of the same type (i.e. AnnotationSpec) when multiple are
         present on a single example.
         NOTE: Instance ID prediction quality is not a part of model evaluation and
         is done as best effort. Especially in cases when an entity goes
         off-screen for a longer time (minutes), when it comes back it may be given
         a new instance ID.
         
        string instance_id = 1;
        Returns:
        The instanceId.
      • getInstanceIdBytes

        com.google.protobuf.ByteString getInstanceIdBytes()
         Optional. The instance of the object, expressed as a positive integer. Used to tell
         apart objects of the same type (i.e. AnnotationSpec) when multiple are
         present on a single example.
         NOTE: Instance ID prediction quality is not a part of model evaluation and
         is done as best effort. Especially in cases when an entity goes
         off-screen for a longer time (minutes), when it comes back it may be given
         a new instance ID.
         
        string instance_id = 1;
        Returns:
        The bytes for instanceId.
      • hasTimeOffset

        boolean hasTimeOffset()
         Required. A time (frame) of a video to which this annotation pertains.
         Represented as the duration since the video's start.
         
        .google.protobuf.Duration time_offset = 2;
        Returns:
        Whether the timeOffset field is set.
      • getTimeOffset

        com.google.protobuf.Duration getTimeOffset()
         Required. A time (frame) of a video to which this annotation pertains.
         Represented as the duration since the video's start.
         
        .google.protobuf.Duration time_offset = 2;
        Returns:
        The timeOffset.
      • getTimeOffsetOrBuilder

        com.google.protobuf.DurationOrBuilder getTimeOffsetOrBuilder()
         Required. A time (frame) of a video to which this annotation pertains.
         Represented as the duration since the video's start.
         
        .google.protobuf.Duration time_offset = 2;
      • hasBoundingBox

        boolean hasBoundingBox()
         Required. The rectangle representing the object location on the frame (i.e.
         at the time_offset of the video).
         
        .google.cloud.automl.v1beta1.BoundingPoly bounding_box = 3;
        Returns:
        Whether the boundingBox field is set.
      • getBoundingBox

        BoundingPoly getBoundingBox()
         Required. The rectangle representing the object location on the frame (i.e.
         at the time_offset of the video).
         
        .google.cloud.automl.v1beta1.BoundingPoly bounding_box = 3;
        Returns:
        The boundingBox.
      • getBoundingBoxOrBuilder

        BoundingPolyOrBuilder getBoundingBoxOrBuilder()
         Required. The rectangle representing the object location on the frame (i.e.
         at the time_offset of the video).
         
        .google.cloud.automl.v1beta1.BoundingPoly bounding_box = 3;
      • getScore

        float getScore()
         Output only. The confidence that this annotation is positive for the video at
         the time_offset, value in [0, 1], higher means higher positivity
         confidence. For annotations created by the user the score is 1. When
         user approves an annotation, the original float score is kept (and not
         changed to 1).
         
        float score = 4;
        Returns:
        The score.