Long story short, I'm just simply trying to get a canny edged image of image.jpg
.
The documentation is very spotty so I'm getting very confused. If anyone can help that'd be greatly appreciated.
from scipy import misc
import numpy as np
from skimage import data
from skimage import feature
from skimage import io
im=misc.imread('image1.jpg')
edges1 = feature.canny(im)
...
And I'm getting this error
ValueError: The parameter `image` must be a 2-dimensional array
Can anyone explain how to create a 2D array from an image file? Thanks!