Skip to main content

Interface: Mask

@geenee/bodyprocessors.Mask

Segmentation mask

Properties

mask

Optional mask: BodyMask

Segmentation mask - monochrome image, where every pixel has value from 0 to 1 denoting the probability of it being a foreground pixel. Mask is provided for normalized rect region of the original image, it has a fixed size in pixels and should be scaled to image space.