from PIL import Image


def blackMask(image, alpha=.5):
  """
  Draw black mask on image.
  :param image: PIL.Image - image to draw
  :param alpha: float - black mask intensity (0 - 1)
  """
  mask = Image.new('RGB', image.size)
  im = Image.blend(image, mask, alpha)
  return im