Spaces:
Paused
Paused
guardiancc
commited on
Commit
•
5b2a781
1
Parent(s):
a1d63d2
Update app.py
Browse files
app.py
CHANGED
@@ -1492,7 +1492,7 @@ def generate_canny(image, type="canny"):
|
|
1492 |
img_blur = cv2.GaussianBlur(img_gray, (3,3), 0)
|
1493 |
|
1494 |
if(type == "canny"):
|
1495 |
-
edges = cv2.Canny(image=img_blur, threshold1=100, threshold2=200
|
1496 |
cv2.imwrite('output.jpg', edges)
|
1497 |
return 'output.jpg'
|
1498 |
|
|
|
1492 |
img_blur = cv2.GaussianBlur(img_gray, (3,3), 0)
|
1493 |
|
1494 |
if(type == "canny"):
|
1495 |
+
edges = cv2.Canny(image=img_blur, threshold1=100, threshold2=200)
|
1496 |
cv2.imwrite('output.jpg', edges)
|
1497 |
return 'output.jpg'
|
1498 |
|