Introduction - If you have any usage issues, please Google them yourself
Canny edge detection steps:
1, Generate Gaussian kernel, convolution with the image
2, calculate the gradient image
3, non-maximal inhibition
4, double threshold method and connect the edge