# base_threaded_host_node

Python API: `depthai_nodes.node.base_threaded_host_node`

## Classes

| Name | Description |
| --- | --- |
| [`BaseThreadedHostNode`](https://docs.luxonis.com/software-v3/ai-inference/inference/depthai-nodes/depthai-nodes-api-reference/node/base_threaded_host_node.md#base_threaded_host_node-Classes-BaseThreadedHostNode) | An abstract base class for threaded host nodes. |
| [`CombinedMeta`](https://docs.luxonis.com/software-v3/ai-inference/inference/depthai-nodes/depthai-nodes-api-reference/node/base_threaded_host_node.md#base_threaded_host_node-Classes-CombinedMeta) |  |

### class `BaseThreadedHostNode`

```python
class BaseThreadedHostNode(dai.node.ThreadedHostNode)
```

An abstract base class for threaded host nodes.

Designed to encapsulate and abstract the configuration of platform-specific attributes, providing a clean and consistent interface
for derived classes.

Attributes

| Name | Description |
| --- | --- |
| `IMG_FRAME_TYPES` |  |

Methods

| Name | Description |
| --- | --- |
| [`__init__`](https://docs.luxonis.com/software-v3/ai-inference/inference/depthai-nodes/depthai-nodes-api-reference/node/base_threaded_host_node.md#base_threaded_host_node-Classes-BaseThreadedHostNode-__init__) | Initialize logging and the platform-specific output image format. |
| [`run`](https://docs.luxonis.com/software-v3/ai-inference/inference/depthai-nodes/depthai-nodes-api-reference/node/base_threaded_host_node.md#base_threaded_host_node-Classes-BaseThreadedHostNode-run) | Run the threaded host-node loop. |

#### method `__init__`

```python
def __init__()
```

Initialize logging and the platform-specific output image format.

Raises

| Type | Description |
| --- | --- |
| `ValueError` | If the pipeline device platform has no configured image-frame format. |

#### method `run`

```python
def run()
```

Run the threaded host-node loop.

### class `CombinedMeta`

```python
class CombinedMeta(ABCMeta, ThreadedHostNodeMeta)
```

## Module Attributes

| Name | Description |
| --- | --- |
| [`ThreadedHostNodeMeta`](https://docs.luxonis.com/software-v3/ai-inference/inference/depthai-nodes/depthai-nodes-api-reference/node/base_threaded_host_node.md#base_threaded_host_node-Module-Attributes-ThreadedHostNodeMeta) |  |

### variable `ThreadedHostNodeMeta`

```python
ThreadedHostNodeMeta = type(dai.node.ThreadedHostNode)
```
