Skip to main content

Instance segmentation

Detects objects and produces per-instance segmentation masks. Mask overlays are drawn automatically on the output video.

models:
- name: "yolo-seg"
type: "segmentation"
architecture: "yolo_seg11"
onnx_file: /path/to/yolo11s-seg.onnx
label_file: /path/to/labels.txt

Fields

FieldTypeRequiredDefaultDescription
architecturestringYesSegmentation architecture (see supported architectures)
active_classeslist of intNoall classesOnly detect these class IDs

Plus the common model fields.

Supported architectures

ArchitectureDescription
yolo_seg5YOLOv5 Segmentation
yolo_seg8YOLOv8 Segmentation
yolo_seg11YOLO11 Segmentation
yolo_seg26YOLO26 Segmentation