OpenCV 14: Gradients
The gradients are edge-like regions that are present in the image. It is similar to edge detection. Laplacian # Laplacianlap = cv.Laplacian(gray, ddepth=cv.CV_64F)lap = np.uint8(np.absolute(lap))cv.imshow(‘Laplacian’, lap) Sobel Canny