Interface SegmentationPoint

A click point for point-prompted segmentation.

interface SegmentationPoint {
    x: number;
    y: number;
    label?: "background" | "foreground";
}

Properties

Properties

x: number
y: number
label?: "background" | "foreground"

Defaults to 'foreground' during normalization.