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

Solution: Import the 'imread' module

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

from scipy import imread

 

For more information:
Python scipy imread