Ask Your Question

Revision history [back]

How to increase width of a line, which is an output of Canny edge detector in OpenCV

The output of the Canny edge detector has lines of width only 1 pixel. How can I increase that width to 2-3 pixels by changing the parameters fed to cv2.Canny(), or changing some setting of cv2.Canny().

I don't prefer to use any post-processing method.

How to increase width of a line, which is an output of Canny edge detector in OpenCV

The output of the Canny edge detector has lines of width only 1 pixel. How can I increase that width to 2-3 pixels by changing the parameters fed to cv2.Canny(), or changing some setting of cv2.Canny().

I don't prefer to use any post-processing method.