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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
BOUNDING_BOX_MEAN_AVERAGE_PRECISION_FIELD_NUMBER
public static final int BOUNDING_BOX_MEAN_AVERAGE_PRECISION_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
BOUNDING_BOX_METRICS_ENTRIES_FIELD_NUMBER
public static final int BOUNDING_BOX_METRICS_ENTRIES_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
EVALUATED_BOUNDING_BOX_COUNT_FIELD_NUMBER
public static final int EVALUATED_BOUNDING_BOX_COUNT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ImageObjectDetectionEvaluationMetrics getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ImageObjectDetectionEvaluationMetrics.Builder newBuilder()
newBuilder(ImageObjectDetectionEvaluationMetrics prototype)
public static ImageObjectDetectionEvaluationMetrics.Builder newBuilder(ImageObjectDetectionEvaluationMetrics prototype)
public static ImageObjectDetectionEvaluationMetrics parseDelimitedFrom(InputStream input)
public static ImageObjectDetectionEvaluationMetrics parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ImageObjectDetectionEvaluationMetrics parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ImageObjectDetectionEvaluationMetrics parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ImageObjectDetectionEvaluationMetrics parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ImageObjectDetectionEvaluationMetrics parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ImageObjectDetectionEvaluationMetrics parseFrom(CodedInputStream input)
public static ImageObjectDetectionEvaluationMetrics parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ImageObjectDetectionEvaluationMetrics parseFrom(InputStream input)
public static ImageObjectDetectionEvaluationMetrics parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ImageObjectDetectionEvaluationMetrics parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ImageObjectDetectionEvaluationMetrics parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ImageObjectDetectionEvaluationMetrics> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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
|
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 |
Type |
Description |
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.v1.BoundingBoxMetricsEntry bounding_box_metrics_entries = 2;
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
|
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()
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()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ImageObjectDetectionEvaluationMetrics.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ImageObjectDetectionEvaluationMetrics.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ImageObjectDetectionEvaluationMetrics.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides