# Google Cloud Vision Ai V1 Client - Class IdentifiedBox (0.3.0)

0.3.0 (latest) 0.2.0 0.1.0 Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class IdentifiedBox.

Identified box contains location and the entity of the object.

Generated from protobuf message `google.cloud.visionai.v1.ObjectDetectionPredictionResult.IdentifiedBox`

## Namespace

Google \\ Cloud \\ VisionAI \\ V1 \\ ObjectDetectionPredictionResult

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ box_id` | `int|string` An unique id for this box. |
| `↳ normalized_bounding_box` | `https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox` Bounding Box in the normalized coordinates. |
| `↳ confidence_score` | `float` Confidence score associated with this box. |
| `↳ entity` | `https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.ObjectDetectionPredictionResult.Entity` Entity of this box. |

### getBoxId

An unique id for this box.

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

### setBoxId

An unique id for this box.

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

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

### getNormalizedBoundingBox

Bounding Box in the normalized coordinates.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox|null` |   |

### hasNormalizedBoundingBox

### clearNormalizedBoundingBox

### setNormalizedBoundingBox

Bounding Box in the normalized coordinates.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.ObjectDetectionPredictionResult.IdentifiedBox.NormalizedBoundingBox` |

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

### getConfidenceScore

Confidence score associated with this box.

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

### setConfidenceScore

Confidence score associated with this box.

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

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

### getEntity

Entity of this box.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.ObjectDetectionPredictionResult.Entity|null` |   |

### hasEntity

### clearEntity

### setEntity

Entity of this box.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-visionai/latest/V1.ObjectDetectionPredictionResult.Entity` |

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