# Cloud AutoML V1 Client - Class ImageObjectDetectionEvaluationMetrics (2.1.3)

2.1.3 (latest) 2.1.2 2.0.5 1.6.5 1.5.4 1.4.17 Reference documentation and code samples for the Cloud AutoML V1 Client class ImageObjectDetectionEvaluationMetrics.

Model evaluation metrics for image object detection problems.

Evaluates prediction quality of labeled bounding boxes.

Generated from protobuf message `google.cloud.automl.v1.ImageObjectDetectionEvaluationMetrics`

## Namespace

Google \\ Cloud \\ AutoMl \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ evaluated_bounding_box_count` | `int` Output only. The total number of bounding boxes (i.e. summed over all images) the ground truth used to create this evaluation had. |
| `↳ bounding_box_metrics_entries` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-automl/latest/V1.BoundingBoxMetricsEntry>` 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. |
| `↳ bounding_box_mean_average_precision` | `float` Output only. The single metric for bounding boxes evaluation: the mean_average_precision averaged over all bounding_box_metrics_entries. |

### getEvaluatedBoundingBoxCount

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setEvaluatedBoundingBoxCount

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getBoundingBoxMetricsEntries

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.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<https://docs.cloud.google.com/php/docs/reference/cloud-automl/latest/V1.BoundingBoxMetricsEntry>` |   |

### setBoundingBoxMetricsEntries

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.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array<https://docs.cloud.google.com/php/docs/reference/cloud-automl/latest/V1.BoundingBoxMetricsEntry>` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getBoundingBoxMeanAveragePrecision

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `float` |   |

### setBoundingBoxMeanAveragePrecision

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `float` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |