Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -84,7 +84,7 @@ def createer_filter(image, filter_type):
|
|
84 |
green_image[:,:,2] = 0 # Red channel
|
85 |
return cv2.addWeighted(green_image, 1.5, np.zeros(image.shape, image.dtype), 0, -50)
|
86 |
|
87 |
-
|
88 |
"""Apply special effects"""
|
89 |
if filter_type == "Matrix Effect":
|
90 |
green_matrix = np.zeros_like(image)
|
|
|
84 |
green_image[:,:,2] = 0 # Red channel
|
85 |
return cv2.addWeighted(green_image, 1.5, np.zeros(image.shape, image.dtype), 0, -50)
|
86 |
|
87 |
+
def special_effects(image, filter_type):
|
88 |
"""Apply special effects"""
|
89 |
if filter_type == "Matrix Effect":
|
90 |
green_matrix = np.zeros_like(image)
|