Open-vocabulary segmentation with SAM3
For each semantic class (hair, eyebrows, eyes, lips, skin) and each training frame, SAM3 is prompted with text to produce a binary mask Mk. Iris masks are obtained from the eye masks by detecting ellipses and warping an annular template.
Masks are made mutually exclusive by prioritizing smaller regions (e.g. iris over sclera) to ensure proper layering. SAM3 is temporally consistent, and since supervision is aggregated over hundreds of frames, occasional segmentation noise is naturally absorbed during training.

