
Universal image segmentation on an Image with a Mask2Former checkpoint. The task setting selects the panoptic, instance or semantic head; the sink resolves one of nine projections of the per-segment result, from [(Segmentation, BoundingBox)] to a count.
Panoptic segmentation overlaid on a stream for review.
Emit per-segment instance records from a file as JSON.
task only chooses which head decodes the same forward pass, so a head the loaded weights were not trained for gives empty or degenerate output.
threshold (detection score), mask_threshold (mask binarisation) and overlap_mask_area_threshold (visible area) apply only to the panoptic and instance heads; the semantic head labels every pixel and ignores them.
object_classes keeps only the listed class ids after inference, max_segments caps the per-instance result count, and sort_by_area orders segments largest-first so the cap keeps the largest.
model binding and all configuration are captured once at startup; changing any setting requires a redeploy.
Automated release