Please feel free to connect with me here on LinkedIn if you are interested in data science and machine learning.
- Python 3.4+
- NumPy (
$ pip install numpy
) - SciPy (
$ pip install scipy
) - MatplotLib (
$ pip install matplotlib
) - Scikit-image (
$ pip install scikit-image
)
Open a Jupyter notebook and execute the following code,
import numpy as np
import matplotlib.pyplot as plt
from skimage import data, io, filters
image = data.coins() # or any NumPy array!
edges = filters.sobel(image)
io.imshow(edges)
You should see the following output. If you see this, you are all set to go!