# ToFConfig

This message is used to configure the [ToF](https://docs.luxonis.com/software/depthai-components/nodes/tof.md) node.

## Examples of functionality

 * [ToF depth](https://docs.luxonis.com/software/depthai/examples/tof_depth.md)

## Reference

### depthai.ToFConfig(depthai.Buffer)

Kind: Class

ToFConfig message. Carries config for feature tracking algorithm

#### __init__()

Kind: Method

#### get(self) -> RawToFConfig: RawToFConfig

Kind: Method

Retrieve configuration data for ToF.

Returns:
config for feature tracking algorithm

#### set(self, config: RawToFConfig) -> ToFConfig: ToFConfig

Kind: Method

Set explicit configuration.

Parameter ``config``:
Explicit configuration

#### setMedianFilter(self, arg0: MedianFilter) -> ToFConfig: ToFConfig

Kind: Method

Parameter ``median``:
Set kernel size for median filtering, or disable

### Need assistance?

Head over to [Discussion Forum](https://discuss.luxonis.com/) for technical support or any other questions you might have.
