def grayscale(self):
    "Applies the Grayscale transform\n        This will return an image with only one color channel\n        but NOTE: to see the returned image as grayscale\n        (assuming your grayscaled image is called 'gray')\n        you should call plt.imshow(gray, cmap='gray')"
    return cv2.cvtColor(self.caller.image, cv2.COLOR_RGB2GRAY)
Applies the Grayscale transform
This will return an image with only one color channel
but NOTE: to see the returned image as grayscale
(assuming your grayscaled image is called 'gray')
you should call plt.imshow(gray, cmap='gray')
def grayscale(self):
    "Applies the Grayscale transform\n        This will return an image with only one color channel\n        but NOTE: to see the returned image as grayscale\n        (assuming your grayscaled image is called 'gray')\n        you should call plt.imshow(gray, cmap='gray')"
    return cv2.cvtColor(self.caller.image, cv2.COLOR_RGB2GRAY)