O'Reilly logo

Computer Vision with Python 3 by Saurabh Kapur

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Edge detection

Detecting edges in an image is an important concept and has many applications. Detecting edges can help us know more about the structure and the boundary of the objects in an image. Edges are defined as parts of images where there is significant change in the pixel values while traversing the image. What this means is, say we are scanning an image from left to right, and as we scan the image, we notice that the pixel value of the previous pixel is way less than the pixel value of the current pixel. This implies that the current pixel can be a probable edge pixel. As we saw earlier in the chapter, an image derivative is the way of finding the change in pixel values and hence it could be a naive way of finding edges in an image. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required