# draugr.opencv_utilities.drawing.opencv_draw.draw_masks

draugr.opencv_utilities.drawing.opencv_draw.draw_masks(image: Union [Image, ndarray ], masks: Union [Image, ndarray ], *, labels: Optional [ Sequence ] = None, border: bool = True, border_width: int = 1, border_color: Tuple = (255, 255, 255), alpha: float = 0.5, color: Optional [ Tuple ] = None, line_type: LineTypeEnum = LineTypeEnum.anti_aliased) → ndarray

  Args: image: numpy array image, shape should be (height, width, channel) masks: (N, 1, Height, Width) labels: mask label border: draw border on mask border_width: border width border_color: border color alpha: mask alpha color: mask color Returns: numpy.ndarray