Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -134,7 +134,7 @@ def get_image_intensity(img, gamma_correction=1.0):
|
|
134 |
result = cv2.cvtColor(result, cv2.COLOR_GRAY2RGB)
|
135 |
return result
|
136 |
|
137 |
-
def blend_numpy_images(image1, image2, blend_factor=0.
|
138 |
"""
|
139 |
Blend two numpy images using normal mode
|
140 |
"""
|
|
|
134 |
result = cv2.cvtColor(result, cv2.COLOR_GRAY2RGB)
|
135 |
return result
|
136 |
|
137 |
+
def blend_numpy_images(image1, image2, blend_factor=0.25, mode="normal"):
|
138 |
"""
|
139 |
Blend two numpy images using normal mode
|
140 |
"""
|