# Cloud Video Intelligence V1 Client - Class DetectedLandmark (2.2.0)

2.2.0 (latest) 2.1.2 2.0.5 1.15.5 1.14.2 1.13.1 1.12.16 Reference documentation and code samples for the Cloud Video Intelligence V1 Client class DetectedLandmark.

A generic detected landmark represented by name in string format and a 2D
location.

Generated from protobuf message `google.cloud.videointelligence.v1.DetectedLandmark`

## Namespace

Google \\ Cloud \\ VideoIntelligence \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` The name of this landmark, for example, left_hand, right_shoulder. |
| `↳ point` | `https://docs.cloud.google.com/php/docs/reference/cloud-videointelligence/latest/V1.NormalizedVertex` The 2D point of the detected landmark using the normalized image coordindate system. The normalized coordinates have the range from 0 to 1. |
| `↳ confidence` | `float` The confidence score of the detected landmark. Range \[0, 1\]. |

### getName

The name of this landmark, for example, left_hand, right_shoulder.

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

### setName

The name of this landmark, for example, left_hand, right_shoulder.

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

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

### getPoint

The 2D point of the detected landmark using the normalized image
coordindate system. The normalized coordinates have the range from 0 to 1.

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

### hasPoint

### clearPoint

### setPoint

The 2D point of the detected landmark using the normalized image
coordindate system. The normalized coordinates have the range from 0 to 1.

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

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

### getConfidence

The confidence score of the detected landmark. Range \[0, 1\].

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

### setConfidence

The confidence score of the detected landmark. Range \[0, 1\].

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

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