Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ def preprocess(img):
|
|
8 |
cv2.imwrite("1_gray.png", img_gray)
|
9 |
|
10 |
# Blur the image
|
11 |
-
img_blur = cv2.GaussianBlur(img_gray, (3, 3),
|
12 |
cv2.imwrite("2_blur.png", img_blur)
|
13 |
|
14 |
# Detect edges with Canny
|
|
|
8 |
cv2.imwrite("1_gray.png", img_gray)
|
9 |
|
10 |
# Blur the image
|
11 |
+
img_blur = cv2.GaussianBlur(img_gray, (3, 3), 1)
|
12 |
cv2.imwrite("2_blur.png", img_blur)
|
13 |
|
14 |
# Detect edges with Canny
|