Spaces:
Sleeping
Sleeping
Create filters.py
Browse files- filters.py +4 -0
filters.py
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
from skimage.color import rgb2gray
|
2 |
+
|
3 |
+
def as_gray(image):
|
4 |
+
return rgb2gray(image)
|