Skip to content

Commit

Permalink
fix line drawing
Browse files Browse the repository at this point in the history
  • Loading branch information
ompugao authored and wkentaro committed Nov 7, 2018
1 parent f5b92f0 commit 8992263
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion labelme/utils/shape.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def shape_to_mask(img_shape, points, shape_type=None):
draw.rectangle(xy, outline=1, fill=1)
elif shape_type == 'linestrip':
xy = [tuple(point) for point in points]
draw.line(xy=xy, fill=0, width=3)
draw.line(xy=xy, fill=1, width=10)
else:
xy = [tuple(point) for point in points]
draw.polygon(xy=xy, outline=1, fill=1)
Expand Down

0 comments on commit 8992263

Please sign in to comment.