python library and k-means
Image Segmentation Using Python Libraries and K-Means.
We all are well aware of the capability of python libraries in machine learning, but you can also manipulate the image properties with the help of the matplotlib library. We will see how we can easily transform and manipulate image properties. We have imported the required libraries, Also cv2 is used to read and manipulate the image. Make sure that the image you want to manipulate lies in the same folder. As we know, image properties are generally in 3-dimension, it is very clear with the output we got (350, 525, 3).