SEGM Detector (SEGS)

节点功能:使用分割检测器对图像进行分割检测,并返回 SEGS(分割信息)数据结构。SEGM Detector (SEGS)-
节点中英文对比
SEGM Detector (SEGS)
  • segm_detector
  • image
  • detailer_hook
  • SEGS
  • threshold
    dilation
    crop_factor
    drop_size
    labels
    SEGM Detector (SEGS)
  • segm_detector
  • image
  • detailer_hook
  • SEGS
  • threshold
    dilation
    crop_factor
    drop_size
    labels
    SEGM Detector (SEGS) - 参数说明
    输入参数
    segm_detector
    分割检测器实例,用于执行语义或实例分割任务。
    image
    输入图像,仅支持单张图像(形状为 (1, C, H, W))。
    detailer_hook
    用于连接到后续 detailer 流程的 hook 接口。
    输出参数
    SEGS
    多个被分割区域构成的结构化输出,包含图像、掩码、bbox、裁剪范围、置信度、标签等。
    控件参数
    threshold
    分割置信度阈值,小于该值的区域将被过滤。默认值为 0.5。
    dilation
    掩码膨胀(正值)或腐蚀(负值)操作像素数,默认 10。
    crop_factor
    裁剪区域相对于掩码 bbox 的放大倍数,默认 3.0。
    drop_size
    删除尺寸过小的区域(宽度或高度小于该值)。默认 10。
    labels
    保留的标签类别列表(英文逗号分隔),如 "person,cat";填写 "all" 表示不过滤。
    暂无节点说明
    节点列表 首页