Interface MaskReferenceConfig

Configuration for a Mask reference image.

interface MaskReferenceConfig {
    maskDilation?: number;
    maskMode?: MaskReferenceMode;
    segmentationClasses?: number[];
}

Properties

maskDilation?: number

Dilation percentage of the mask provided. Float between 0 and 1.

Prompts the model to generate a mask instead of you needing to provide one (unless MASK_MODE_USER_PROVIDED is used).

segmentationClasses?: number[]

A list of up to 5 class ids to use for semantic segmentation. Automatically creates an image mask based on specific objects.

MMNEPVFCICPMFPCPTTAAATR