OptionalbackgroundThe RGBA color to use for the background.
OptionalflipWhether to flip the mask horizontally.
OptionalforegroundThe RGBA color to use for the foreground.
OptionalmaskThe amount of blur to apply to the mask edges.
OptionalopacityThe opacity level of the mask, ranging from 0 (fully transparent) to 1 (fully opaque).
OptionalsegmentAdditional settings for person segmentation.
Interface representing the configuration options for mask settings.