Robert001's picture
first commit
b334e29
raw
history blame contribute delete
No virus
143 Bytes
from skimage import color
class GrayscaleConverter:
def __call__(self, img):
return (color.rgb2gray(img) * 255.0).astype('ubyte')