Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -20,7 +20,7 @@ def inference(img):
|
|
20 |
#edges = get_edges(img.copy())
|
21 |
#edges = feature.canny(out, sigma=3) # edge detect via canny with sigma 3
|
22 |
#out = morphology.remove_small_objects(label(edges), 2,) # noise_reduced
|
23 |
-
out = morphology.remove_small_objects( out , 2,) # noise_reduced
|
24 |
|
25 |
|
26 |
# black out pixels
|
|
|
20 |
#edges = get_edges(img.copy())
|
21 |
#edges = feature.canny(out, sigma=3) # edge detect via canny with sigma 3
|
22 |
#out = morphology.remove_small_objects(label(edges), 2,) # noise_reduced
|
23 |
+
#out = morphology.remove_small_objects( out , 2,) # noise_reduced
|
24 |
|
25 |
|
26 |
# black out pixels
|