public static final class VideoObjectTrackingEvaluationMetrics.Builder extends GeneratedMessageV3.Builder<VideoObjectTrackingEvaluationMetrics.Builder> 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllBoundingBoxMetricsEntries(Iterable<? extends BoundingBoxMetricsEntry> values)
public VideoObjectTrackingEvaluationMetrics.Builder addAllBoundingBoxMetricsEntries(Iterable<? extends BoundingBoxMetricsEntry> values)
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
Name | Description |
values | Iterable<? extends com.google.cloud.automl.v1beta1.BoundingBoxMetricsEntry>
|
Returns
addBoundingBoxMetricsEntries(BoundingBoxMetricsEntry value)
public VideoObjectTrackingEvaluationMetrics.Builder addBoundingBoxMetricsEntries(BoundingBoxMetricsEntry value)
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
Returns
addBoundingBoxMetricsEntries(BoundingBoxMetricsEntry.Builder builderForValue)
public VideoObjectTrackingEvaluationMetrics.Builder addBoundingBoxMetricsEntries(BoundingBoxMetricsEntry.Builder builderForValue)
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
Returns
addBoundingBoxMetricsEntries(int index, BoundingBoxMetricsEntry value)
public VideoObjectTrackingEvaluationMetrics.Builder addBoundingBoxMetricsEntries(int index, BoundingBoxMetricsEntry value)
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;
Parameters
Returns
addBoundingBoxMetricsEntries(int index, BoundingBoxMetricsEntry.Builder builderForValue)
public VideoObjectTrackingEvaluationMetrics.Builder addBoundingBoxMetricsEntries(int index, BoundingBoxMetricsEntry.Builder builderForValue)
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;
Parameters
Returns
addBoundingBoxMetricsEntriesBuilder()
public BoundingBoxMetricsEntry.Builder addBoundingBoxMetricsEntriesBuilder()
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
addBoundingBoxMetricsEntriesBuilder(int index)
public BoundingBoxMetricsEntry.Builder addBoundingBoxMetricsEntriesBuilder(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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VideoObjectTrackingEvaluationMetrics.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public VideoObjectTrackingEvaluationMetrics build()
Returns
buildPartial()
public VideoObjectTrackingEvaluationMetrics buildPartial()
Returns
clear()
public VideoObjectTrackingEvaluationMetrics.Builder clear()
Returns
Overrides
clearBoundingBoxMeanAveragePrecision()
public VideoObjectTrackingEvaluationMetrics.Builder clearBoundingBoxMeanAveragePrecision()
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
clearBoundingBoxMetricsEntries()
public VideoObjectTrackingEvaluationMetrics.Builder clearBoundingBoxMetricsEntries()
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
clearEvaluatedBoundingBoxCount()
public VideoObjectTrackingEvaluationMetrics.Builder clearEvaluatedBoundingBoxCount()
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
clearEvaluatedFrameCount()
public VideoObjectTrackingEvaluationMetrics.Builder clearEvaluatedFrameCount()
Output only. The number of video frames used to create this evaluation.
int32 evaluated_frame_count = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public VideoObjectTrackingEvaluationMetrics.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public VideoObjectTrackingEvaluationMetrics.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public VideoObjectTrackingEvaluationMetrics.Builder clone()
Returns
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
Type | Description |
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
Returns
getBoundingBoxMetricsEntriesBuilder(int index)
public BoundingBoxMetricsEntry.Builder getBoundingBoxMetricsEntriesBuilder(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
Returns
getBoundingBoxMetricsEntriesBuilderList()
public List<BoundingBoxMetricsEntry.Builder> getBoundingBoxMetricsEntriesBuilderList()
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
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
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
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
Returns
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
Type | Description |
List<? extends com.google.cloud.automl.v1beta1.BoundingBoxMetricsEntryOrBuilder> | |
getDefaultInstanceForType()
public VideoObjectTrackingEvaluationMetrics getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
Type | Description |
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
Type | Description |
int | The evaluatedFrameCount.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(VideoObjectTrackingEvaluationMetrics other)
public VideoObjectTrackingEvaluationMetrics.Builder mergeFrom(VideoObjectTrackingEvaluationMetrics other)
Parameter
Returns
public VideoObjectTrackingEvaluationMetrics.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public VideoObjectTrackingEvaluationMetrics.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VideoObjectTrackingEvaluationMetrics.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeBoundingBoxMetricsEntries(int index)
public VideoObjectTrackingEvaluationMetrics.Builder removeBoundingBoxMetricsEntries(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
Returns
setBoundingBoxMeanAveragePrecision(float value)
public VideoObjectTrackingEvaluationMetrics.Builder setBoundingBoxMeanAveragePrecision(float value)
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;
Parameter
Name | Description |
value | float
The boundingBoxMeanAveragePrecision to set.
|
Returns
setBoundingBoxMetricsEntries(int index, BoundingBoxMetricsEntry value)
public VideoObjectTrackingEvaluationMetrics.Builder setBoundingBoxMetricsEntries(int index, BoundingBoxMetricsEntry value)
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;
Parameters
Returns
setBoundingBoxMetricsEntries(int index, BoundingBoxMetricsEntry.Builder builderForValue)
public VideoObjectTrackingEvaluationMetrics.Builder setBoundingBoxMetricsEntries(int index, BoundingBoxMetricsEntry.Builder builderForValue)
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;
Parameters
Returns
setEvaluatedBoundingBoxCount(int value)
public VideoObjectTrackingEvaluationMetrics.Builder setEvaluatedBoundingBoxCount(int value)
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;
Parameter
Name | Description |
value | int
The evaluatedBoundingBoxCount to set.
|
Returns
setEvaluatedFrameCount(int value)
public VideoObjectTrackingEvaluationMetrics.Builder setEvaluatedFrameCount(int value)
Output only. The number of video frames used to create this evaluation.
int32 evaluated_frame_count = 1;
Parameter
Name | Description |
value | int
The evaluatedFrameCount to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public VideoObjectTrackingEvaluationMetrics.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VideoObjectTrackingEvaluationMetrics.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final VideoObjectTrackingEvaluationMetrics.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides