Computing gradients using Sobel operator

In this recipe, you will learn how to compute the approximation of an image's gradient using Sobel filters.

Get OpenCV 3 Computer Vision with Python Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.