Spaces:
Sleeping
Sleeping
Update pages/8_Rainfall.py
Browse files- pages/8_Rainfall.py +1 -1
pages/8_Rainfall.py
CHANGED
|
@@ -62,7 +62,7 @@ def filter_image_by_color(image, colors_to_extract_rgb):
|
|
| 62 |
return Image.fromarray(img_array)
|
| 63 |
|
| 64 |
def smooth_image(image):
|
| 65 |
-
return image.filter(ImageFilter.GaussianBlur(radius=
|
| 66 |
|
| 67 |
def enhance_contrast(image, factor=1.5):
|
| 68 |
enhancer = ImageEnhance.Contrast(image)
|
|
|
|
| 62 |
return Image.fromarray(img_array)
|
| 63 |
|
| 64 |
def smooth_image(image):
|
| 65 |
+
return image.filter(ImageFilter.GaussianBlur(radius=1))
|
| 66 |
|
| 67 |
def enhance_contrast(image, factor=1.5):
|
| 68 |
enhancer = ImageEnhance.Contrast(image)
|