Class VideoObjectTrackingEvaluationMetrics (2.27.0)

public final class VideoObjectTrackingEvaluationMetrics extends GeneratedMessageV3 implements VideoObjectTrackingEvaluationMetricsOrBuilder

Model evaluation metrics for video object tracking problems. Evaluates prediction quality of both labeled bounding boxes and labeled tracks (i.e. series of bounding boxes sharing same label and instance ID).

Protobuf type google.cloud.automl.v1beta1.VideoObjectTrackingEvaluationMetrics

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > VideoObjectTrackingEvaluationMetrics

Static Fields

BOUNDING_BOX_MEAN_AVERAGE_PRECISION_FIELD_NUMBER

public static final int BOUNDING_BOX_MEAN_AVERAGE_PRECISION_FIELD_NUMBER
Field Value
TypeDescription
int

BOUNDING_BOX_METRICS_ENTRIES_FIELD_NUMBER

public static final int BOUNDING_BOX_METRICS_ENTRIES_FIELD_NUMBER
Field Value
TypeDescription
int

EVALUATED_BOUNDING_BOX_COUNT_FIELD_NUMBER

public static final int EVALUATED_BOUNDING_BOX_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

EVALUATED_FRAME_COUNT_FIELD_NUMBER

public static final int EVALUATED_FRAME_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static VideoObjectTrackingEvaluationMetrics getDefaultInstance()
Returns
TypeDescription
VideoObjectTrackingEvaluationMetrics

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static VideoObjectTrackingEvaluationMetrics.Builder newBuilder()
Returns
TypeDescription
VideoObjectTrackingEvaluationMetrics.Builder

newBuilder(VideoObjectTrackingEvaluationMetrics prototype)

public static VideoObjectTrackingEvaluationMetrics.Builder newBuilder(VideoObjectTrackingEvaluationMetrics prototype)
Parameter
NameDescription
prototypeVideoObjectTrackingEvaluationMetrics
Returns
TypeDescription
VideoObjectTrackingEvaluationMetrics.Builder

parseDelimitedFrom(InputStream input)

public static VideoObjectTrackingEvaluationMetrics parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VideoObjectTrackingEvaluationMetrics
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VideoObjectTrackingEvaluationMetrics parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VideoObjectTrackingEvaluationMetrics
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static VideoObjectTrackingEvaluationMetrics parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
VideoObjectTrackingEvaluationMetrics
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VideoObjectTrackingEvaluationMetrics parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VideoObjectTrackingEvaluationMetrics
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VideoObjectTrackingEvaluationMetrics parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
VideoObjectTrackingEvaluationMetrics
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VideoObjectTrackingEvaluationMetrics parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VideoObjectTrackingEvaluationMetrics
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VideoObjectTrackingEvaluationMetrics parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
VideoObjectTrackingEvaluationMetrics
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VideoObjectTrackingEvaluationMetrics parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VideoObjectTrackingEvaluationMetrics
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static VideoObjectTrackingEvaluationMetrics parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VideoObjectTrackingEvaluationMetrics
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VideoObjectTrackingEvaluationMetrics parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VideoObjectTrackingEvaluationMetrics
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static VideoObjectTrackingEvaluationMetrics parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
VideoObjectTrackingEvaluationMetrics
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VideoObjectTrackingEvaluationMetrics parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VideoObjectTrackingEvaluationMetrics
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<VideoObjectTrackingEvaluationMetrics> parser()
Returns
TypeDescription
Parser<VideoObjectTrackingEvaluationMetrics>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getBoundingBoxMeanAveragePrecision()

public float getBoundingBoxMeanAveragePrecision()

Output only. The single metric for bounding boxes evaluation: the mean_average_precision averaged over all bounding_box_metrics_entries.

float bounding_box_mean_average_precision = 6;

Returns
TypeDescription
float

The boundingBoxMeanAveragePrecision.

getBoundingBoxMetricsEntries(int index)

public BoundingBoxMetricsEntry getBoundingBoxMetricsEntries(int index)

Output only. The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair.

repeated .google.cloud.automl.v1beta1.BoundingBoxMetricsEntry bounding_box_metrics_entries = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
BoundingBoxMetricsEntry

getBoundingBoxMetricsEntriesCount()

public int getBoundingBoxMetricsEntriesCount()

Output only. The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair.

repeated .google.cloud.automl.v1beta1.BoundingBoxMetricsEntry bounding_box_metrics_entries = 4;

Returns
TypeDescription
int

getBoundingBoxMetricsEntriesList()

public List<BoundingBoxMetricsEntry> getBoundingBoxMetricsEntriesList()

Output only. The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair.

repeated .google.cloud.automl.v1beta1.BoundingBoxMetricsEntry bounding_box_metrics_entries = 4;

Returns
TypeDescription
List<BoundingBoxMetricsEntry>

getBoundingBoxMetricsEntriesOrBuilder(int index)

public BoundingBoxMetricsEntryOrBuilder getBoundingBoxMetricsEntriesOrBuilder(int index)

Output only. The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair.

repeated .google.cloud.automl.v1beta1.BoundingBoxMetricsEntry bounding_box_metrics_entries = 4;

Parameter
NameDescription
indexint
Returns
TypeDescription
BoundingBoxMetricsEntryOrBuilder

getBoundingBoxMetricsEntriesOrBuilderList()

public List<? extends BoundingBoxMetricsEntryOrBuilder> getBoundingBoxMetricsEntriesOrBuilderList()

Output only. The bounding boxes match metrics for each Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 pair.

repeated .google.cloud.automl.v1beta1.BoundingBoxMetricsEntry bounding_box_metrics_entries = 4;

Returns
TypeDescription
List<? extends com.google.cloud.automl.v1beta1.BoundingBoxMetricsEntryOrBuilder>

getDefaultInstanceForType()

public VideoObjectTrackingEvaluationMetrics getDefaultInstanceForType()
Returns
TypeDescription
VideoObjectTrackingEvaluationMetrics

getEvaluatedBoundingBoxCount()

public int getEvaluatedBoundingBoxCount()

Output only. The total number of bounding boxes (i.e. summed over all frames) the ground truth used to create this evaluation had.

int32 evaluated_bounding_box_count = 2;

Returns
TypeDescription
int

The evaluatedBoundingBoxCount.

getEvaluatedFrameCount()

public int getEvaluatedFrameCount()

Output only. The number of video frames used to create this evaluation.

int32 evaluated_frame_count = 1;

Returns
TypeDescription
int

The evaluatedFrameCount.

getParserForType()

public Parser<VideoObjectTrackingEvaluationMetrics> getParserForType()
Returns
TypeDescription
Parser<VideoObjectTrackingEvaluationMetrics>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public VideoObjectTrackingEvaluationMetrics.Builder newBuilderForType()
Returns
TypeDescription
VideoObjectTrackingEvaluationMetrics.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VideoObjectTrackingEvaluationMetrics.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
VideoObjectTrackingEvaluationMetrics.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public VideoObjectTrackingEvaluationMetrics.Builder toBuilder()
Returns
TypeDescription
VideoObjectTrackingEvaluationMetrics.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException