skimage library using pip code example
Example 1: skimage pip
pip install scikit-image
Example 2: skimage python
from skimage import data, io, filters
image = data.coins()
# ... or any other NumPy array!
edges = filters.sobel(image)
io.imshow(edges)
io.show()