Skip to content

Commit 6819ca3

Browse files
authored
Merge pull request #89 from biigle/disable-area-threshold
Remove area threshold with manual detection
2 parents ee46e2c + c9235cc commit 6819ca3

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/resources/scripts/detect.py

-7
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,6 @@
7171
"method": detection,
7272
}))
7373
exit(1)
74-
elif (aqm > 50):
75-
print(json.dumps({
76-
"error": True,
77-
"message": "The estimated image area is too large (max is 50 sqm but was {} sqm).".format(round(aqm)),
78-
"method": detection
79-
}))
80-
exit(1)
8174

8275
# use fliplr to print coordinates as [x, y] tuples instead of [y, x]
8376
print(json.dumps({

0 commit comments

Comments
 (0)