Skip to content

Commit 0217ab3

Browse files
committed
change back to .01
1 parent 699c22b commit 0217ab3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

labelbox/data/serialization/coco/instance_dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def mask_to_coco_object_annotation(annotation: ObjectAnnotation, annot_idx: int,
2222
# If you need to support holes use the panoptic data format
2323
shapely = annotation.value.shapely.simplify(1).buffer(0)
2424
if shapely.is_empty:
25-
shapely = annotation.value.shapely.simplify(1).buffer(0.1)
25+
shapely = annotation.value.shapely.simplify(1).buffer(0.01)
2626
xmin, ymin, xmax, ymax = shapely.bounds
2727
# Iterate over polygon once or multiple polygon for each item
2828
area = shapely.area

0 commit comments

Comments
 (0)