How to Solve NameError: name 'ImageDraw' is not defined -- PIL

Solution: Import the 'ImageDraw' module

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

from PIL import ImageDraw

 

For more information:
Python PIL ImageDraw