# base_host_node

Python API: `depthai_nodes.node.base_host_node`

## Classes

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

### class `BaseHostNode`

```python
class BaseHostNode(dai.node.HostNode)
```

An abstract base class for 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_host_node.md#base_host_node-Classes-BaseHostNode-__init__) | Initialize logging and the platform-specific output image format. |
| [`process`](https://docs.luxonis.com/software-v3/ai-inference/inference/depthai-nodes/depthai-nodes-api-reference/node/base_host_node.md#base_host_node-Classes-BaseHostNode-process) | Process one synchronized batch of input messages. |

#### 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 `process`

```python
def process(*msgs: dai.Buffer)
```

Process one synchronized batch of input messages.

### class `CombinedMeta`

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

## Module Attributes

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

### variable `HostNodeMeta`

```python
HostNodeMeta = type(dai.node.HostNode)
```
