Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Overlaying edges onto original image in Python

Hi

I would like to overlay an image with the edges detected by the Canny function (or from any other function) using the Python API. Any suggestions would be appreciated.

Thanks...

Overlaying edges onto original image in Python

Hi

I would like to overlay an image with the edges detected by the Canny function (or from any other function) using the Python API. Any suggestions would be appreciated.

Thanks...

edit 1: In figuring out a different question I think I've figured out some relevant information. When using the the image's shape field, it returns imgcv shape = (1080, 1920, 3) edges shape = (1080, 1920)

The image used to find edges from has three dimensions, I'm thinking they are for RGB (or BGR). So I'm thinking, to combine the two images, only one of the dimensions in the original image needs to be accessed, although I'm still not clear as to how this is done.