Introduction - If you have any usage issues, please Google them yourself
Opencv based on the realization of the k-means clustering image segmentation algorithm, the number of clustering can be customized, according to pixel location and color clustering