How to Solve NameError: name 'imread' is not defined -- skimage

Solution: Import the 'imread' module

To Solve the error, add the following line to the top of your code.

from skimage.io import imread

 

For more information:
Python skimage imread