Introduction - If you have any usage issues, please Google them yourself
The Sobel operator is the edge detection operator of the first derivative. During the algorithm realization, the 3 × 3 template is used as the convolution sum of each pixel in the kernel and image, then the appropriate threshold is selected to extract the edge.