ComfyUI Node
YOLOE-26 Select Best Instance
Select a single best mask from YOLOE-26 Instance Masks outputs. With a batch of input images, selection is global across the whole batch, not per image.
YOLOE-26 Select Best Instance
- instance_masks
- best_mask
- best_instance_metadata_json
- selected_mask_index
◄instance_metadata_json►
◄selection_modehighest_confidence►
CategoryYOLOE26
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| instance_masks | MASK | — | |
| instance_metadata_json | STRING | Metadata JSON produced by YOLOE-26 Instance Masks. | |
| selection_modeopt | COMBO | highest_confidence | Strategy used when selecting the best instance. With batched input images the best instance is chosen across the entire batch, not per image. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| best_mask | MASK | — |
| best_instance_metadata_json | STRING | — |
| selected_mask_index | INT | — |