Some or all of the information on this page might not apply to Trusted Cloud by S3NS.
Class ImageObjectDetectionEvaluationMetrics (2.10.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 2.10.0keyboard_arrow_down
public final class ImageObjectDetectionEvaluationMetrics extends GeneratedMessageV3 implements ImageObjectDetectionEvaluationMetricsOrBuilder
Model evaluation metrics for image object detection problems.
Evaluates prediction quality of labeled bounding boxes.
Protobuf type google.cloud.automl.v1.ImageObjectDetectionEvaluationMetrics
Static Fields
BOUNDING_BOX_MEAN_AVERAGE_PRECISION_FIELD_NUMBER
public static final int BOUNDING_BOX_MEAN_AVERAGE_PRECISION_FIELD_NUMBER
Field Value
BOUNDING_BOX_METRICS_ENTRIES_FIELD_NUMBER
public static final int BOUNDING_BOX_METRICS_ENTRIES_FIELD_NUMBER
Field Value
EVALUATED_BOUNDING_BOX_COUNT_FIELD_NUMBER
public static final int EVALUATED_BOUNDING_BOX_COUNT_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static ImageObjectDetectionEvaluationMetrics getDefaultInstance ()
Returns
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
newBuilder()
public static ImageObjectDetectionEvaluationMetrics . Builder newBuilder ()
Returns
newBuilder(ImageObjectDetectionEvaluationMetrics prototype)
public static ImageObjectDetectionEvaluationMetrics . Builder newBuilder ( ImageObjectDetectionEvaluationMetrics prototype )
Parameter
Returns
public static ImageObjectDetectionEvaluationMetrics parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static ImageObjectDetectionEvaluationMetrics parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static ImageObjectDetectionEvaluationMetrics parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ImageObjectDetectionEvaluationMetrics parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static ImageObjectDetectionEvaluationMetrics parseFrom ( ByteString data )
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ImageObjectDetectionEvaluationMetrics parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static ImageObjectDetectionEvaluationMetrics parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static ImageObjectDetectionEvaluationMetrics parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static ImageObjectDetectionEvaluationMetrics parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static ImageObjectDetectionEvaluationMetrics parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static ImageObjectDetectionEvaluationMetrics parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ImageObjectDetectionEvaluationMetrics parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parser()
public static Parser<ImageObjectDetectionEvaluationMetrics> parser ()
Returns
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
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 = 3;
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.v1.BoundingBoxMetricsEntry bounding_box_metrics_entries = 2;
Parameter
Name
Description
index
int
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.v1.BoundingBoxMetricsEntry bounding_box_metrics_entries = 2;
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.v1.BoundingBoxMetricsEntry bounding_box_metrics_entries = 2;
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.v1.BoundingBoxMetricsEntry bounding_box_metrics_entries = 2;
Parameter
Name
Description
index
int
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.v1.BoundingBoxMetricsEntry bounding_box_metrics_entries = 2;
Returns
Type
Description
List <? extends com.google.cloud.automl.v1.BoundingBoxMetricsEntryOrBuilder >
getDefaultInstanceForType()
public ImageObjectDetectionEvaluationMetrics getDefaultInstanceForType ()
Returns
getEvaluatedBoundingBoxCount()
public int getEvaluatedBoundingBoxCount ()
Output only. The total number of bounding boxes (i.e. summed over all
images) the ground truth used to create this evaluation had.
int32 evaluated_bounding_box_count = 1;
Returns
Type
Description
int
The evaluatedBoundingBoxCount.
getParserForType()
public Parser<ImageObjectDetectionEvaluationMetrics> getParserForType ()
Returns
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
newBuilderForType()
public ImageObjectDetectionEvaluationMetrics . Builder newBuilderForType ()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ImageObjectDetectionEvaluationMetrics . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
toBuilder()
public ImageObjectDetectionEvaluationMetrics . Builder toBuilder ()
Returns
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-07-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-18 UTC."],[],[]]