Spaces:
Runtime error
Runtime error
SuperPunk2077
commited on
Commit
·
6c85583
1
Parent(s):
f4ddd94
Update app.py
Browse files
app.py
CHANGED
@@ -51,7 +51,7 @@ def main(argv):
|
|
51 |
|
52 |
_, contours, hierarchy = cv2.findContours(cv_he, cv2.RETR_TREE, cv2.CHAIN_APPROX_SIMPLE)
|
53 |
|
54 |
-
|
55 |
|
56 |
# sort contours by contour area
|
57 |
# keep only contours that are larger than 10% of the image area
|
|
|
51 |
|
52 |
_, contours, hierarchy = cv2.findContours(cv_he, cv2.RETR_TREE, cv2.CHAIN_APPROX_SIMPLE)
|
53 |
|
54 |
+
|
55 |
|
56 |
# sort contours by contour area
|
57 |
# keep only contours that are larger than 10% of the image area
|