Skip to content

Commit 7b4b09a

Browse files
authored
Update simple_gui.py
1 parent c3d502b commit 7b4b09a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

surround_view/simple_gui.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ def create_mask_from_pixels(self, pixels, image_shape):
116116
hull = cv2.convexHull(pixels)
117117
mask = np.zeros(image_shape[:2], np.int8)
118118
cv2.fillConvexPoly(mask, hull, 1, lineType=8, shift=0)
119-
mask = mask.astype(np.bool)
119+
mask = mask.astype(bool)
120120
return mask
121121

122122
def draw_mask_on_image(self, image, mask):

0 commit comments

Comments
 (0)