Content
Merge several monochrome masks in different colors into the same image.
masks (Union[Tensor, Image]) – monochrome PIL images (model 'L' or '1'), RGB mode PIL images, or torch tensors; torch tensors are converted to 'L' mode PIL images
'L'
'1'
RGB
colors (Sequence[str]) –
image with bright part of each mask in corresponding color
Image