ON THIS PAGE

  • EdgeDetectorConfig
  • Examples of functionality
  • Reference

EdgeDetectorConfig

This message is used to configure the EdgeDetector node. You can set the horizontal and vertical Sobel filter kernel.

Examples of functionality

Reference

class

depthai.EdgeDetectorConfig(depthai.Buffer)

method
method
get(self) -> RawEdgeDetectorConfig: RawEdgeDetectorConfig
Retrieve configuration data for EdgeDetector.  Returns:     config for EdgeDetector
method
getConfigData(self) -> EdgeDetectorConfigData: EdgeDetectorConfigData
Retrieve configuration data for EdgeDetector  Returns:     EdgeDetectorConfigData: sobel filter horizontal and vertical 3x3 kernels
method
set(self, config: RawEdgeDetectorConfig) -> EdgeDetectorConfig: EdgeDetectorConfig
Set explicit configuration.  Parameter ``config``:     Explicit configuration
method
setSobelFilterKernels(self, horizontalKernel: list [ list [ int ] ], verticalKernel: list [ list [ int ] ])
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 for technical support or any other questions you might have.