# EdgeDetectorConfig

This message is used to configure the [EdgeDetector](https://docs.luxonis.com/software/depthai/examples/edge_detector.md) node.
You can set the horizontal and vertical Sobel filter kernel.

## Examples of functionality

 * [Edge detector](https://docs.luxonis.com/software/depthai/examples/edge_detector.md)

## Reference

### depthai.EdgeDetectorConfig(depthai.Buffer)

Kind: Class

EdgeDetectorConfig message. Carries sobel edge filter config.

#### __init__(self)

Kind: Method

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

Kind: Method

Retrieve configuration data for EdgeDetector.

Returns:
config for EdgeDetector

#### getConfigData(self) -> EdgeDetectorConfigData: EdgeDetectorConfigData

Kind: Method

Retrieve configuration data for EdgeDetector

Returns:
EdgeDetectorConfigData: sobel filter horizontal and vertical 3x3 kernels

#### set(self, config: RawEdgeDetectorConfig) -> EdgeDetectorConfig: EdgeDetectorConfig

Kind: Method

Set explicit configuration.

Parameter ``config``:
Explicit configuration

#### setSobelFilterKernels(self, horizontalKernel: collections.abc.Sequence [ collections.abc.Sequence [ typing.SupportsInt ] ],
verticalKernel: collections.abc.Sequence [ collections.abc.Sequence [ typing.SupportsInt ] ])

Kind: Method

Set sobel filter horizontal and vertical 3x3 kernels

Parameter ``horizontalKernel``:
Used for horizontal gradient computation in 3x3 Sobel filter

Parameter ``verticalKernel``:
Used for vertical gradient computation in 3x3 Sobel filter

### Need assistance?

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