# measure_anything

Python API: `depthai_nodes.algorithms.measure_anything`

The single bundled MeasureAnything algorithm and its private frozen configuration.

There is no runtime algorithm selection or settings override. The optional measure- anything extra is loaded only when the
computation callbacks are created.

## Child Pages

 * [implementation](https://docs.luxonis.com/software-v3/ai-inference/inference/depthai-nodes/depthai-nodes-api-reference/algorithms/measure_anything/implementation.md)
 * [manifest](https://docs.luxonis.com/software-v3/ai-inference/inference/depthai-nodes/depthai-nodes-api-reference/algorithms/measure_anything/manifest.md)

## Functions

| Name | Description |
| --- | --- |
| [`create_components`](https://docs.luxonis.com/software-v3/ai-inference/inference/depthai-nodes/depthai-nodes-api-reference/algorithms/measure_anything.md#measure_anything-Functions-create_components) | Create callbacks bound to the bundled settings. |
| [`validate_manifest`](https://docs.luxonis.com/software-v3/ai-inference/inference/depthai-nodes/depthai-nodes-api-reference/algorithms/measure_anything.md#measure_anything-Functions-validate_manifest) | Validate bundled provenance, hashes, configuration, and node bindings. |

### function `create_components`

```python
def create_components() -> Components
```

Create callbacks bound to the bundled settings.

Returns

| Type | Description |
| --- | --- |
| `Components` | A fresh component instance. Complete a scene call before reusing it. |

Raises

| Type | Description |
| --- | --- |
| `ImportError` | If the optional MeasureAnything computation dependencies are absent. |

### function `validate_manifest`

```python
def validate_manifest() -> dict
```

Validate bundled provenance, hashes, configuration, and node bindings.

Returns

| Type | Description |
| --- | --- |
| `dict` | The validated manifest. |

Raises

| Type | Description |
| --- | --- |
| `ValueError` | If the package differs from its declared provenance. |

## Module Attributes

| Name | Type | Description |
| --- | --- | --- |
| [`ALGORITHM_ID`](https://docs.luxonis.com/software-v3/ai-inference/inference/depthai-nodes/depthai-nodes-api-reference/algorithms/measure_anything.md#measure_anything-Module-Attributes-ALGORITHM_ID) | `str` |  |
| [`IMPLEMENTATION_NAME`](https://docs.luxonis.com/software-v3/ai-inference/inference/depthai-nodes/depthai-nodes-api-reference/algorithms/measure_anything.md#measure_anything-Module-Attributes-IMPLEMENTATION_NAME) | `str` |  |

### constant `ALGORITHM_ID`

```python
ALGORITHM_ID: str = 'algorithm-5e4abc3a09b54148950317cdeac60ba2'
```

### constant `IMPLEMENTATION_NAME`

```python
IMPLEMENTATION_NAME: str = 'implementation'
```
