Welcome to another OpenCV with Python tutorial. In this tutorial, we'll be covering image gradients and edge detection. Image gradients can be used to measure directional intensity, and edge detection does exactly what it sounds like: it finds edges! Bet you didn't see that one coming.
Text-based version and sample code: https://pythonprogramming.net/canny-edge-detection-gradients-python-opencv-tutorial/?completed=/morphological-transformation-python-opencv-tutorial/
https://pythonprogramming.ne
آی-ویدئو