Skip to content

Commit 799421d

Browse files
author
Raphaël Barman
committed
Fixed polygon detection
1 parent 29374bd commit 799421d

File tree

1 file changed

+1
-1
lines changed
  • dh_segment_torch/post_processing/geometries

1 file changed

+1
-1
lines changed

dh_segment_torch/post_processing/geometries/polygon.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ def apply(
4444
found_polygons = sorted(
4545
found_polygons, key=lambda poly: poly.area, reverse=True
4646
)
47-
return found_polygons[: min(self.max_boxes, len(found_polygons))]
47+
return found_polygons[: min(self.max_polygons, len(found_polygons))]

0 commit comments

Comments
 (0)