Simple Detector (SEGS)

节点功能:使用 BBOX_DETECTOR 进行目标检测,并可选择性地结合 SAM_MODEL 或 SEGM_DETECTOR 来生成改进的 SEGS。Simple Detector (SEGS)-
节点中英文对比
Simple Detector (SEGS)
  • bbox_detector
  • image
  • sam_model_opt
  • segm_detector_opt
  • SEGS
  • bbox_threshold
    bbox_dilation
    crop_factor
    drop_size
    sub_threshold
    sub_dilation
    sub_bbox_expansion
    sam_mask_hint_threshold
    post_dilation
    Simple Detector (SEGS)
  • bbox_detector
  • image
  • sam_model_opt
  • segm_detector_opt
  • SEGS
  • bbox_threshold
    bbox_dilation
    crop_factor
    drop_size
    sub_threshold
    sub_dilation
    sub_bbox_expansion
    sam_mask_hint_threshold
    post_dilation
    Simple Detector (SEGS) - 参数说明
    输入参数
    bbox_detector
    主检测器模型(如 YOLO, RTMDet)。
    image
    输入图像(单张)。
    sam_model_opt
    可选 SAM 模型,用于从 SEGS 中心点生成精细掩码。推荐用于人脸、人物、边界清晰对象。
    segm_detector_opt
    可选语义分割模型,用于掩码细化,若未提供 SAM 可作为替代方案。
    输出参数
    SEGS
    包含结构化区域的元组 (H, W), [SEG, SEG, ...],每个 SEG 含图像、掩码等字段。
    控件参数
    bbox_threshold
    主检测器的置信度阈值。默认值为 0.5。
    bbox_dilation
    对 bbox 掩码进行膨胀或腐蚀的像素值。默认值为 0。正值为膨胀,负值为腐蚀。
    crop_factor
    bbox 裁剪区域的放大倍数。默认值为 3.0。
    drop_size
    忽略宽或高小于该值的检测目标。默认值为 10。有效过滤误检的小目标,建议值为 10~50。
    sub_threshold
    SAM 或语义分割掩码的置信度阈值。默认值为 0.5。控制细化掩码中的区域保留强度。
    sub_dilation
    SAM 或 Segm 掩码的膨胀像素。默认值为 0。正值扩展边界,负值收缩掩码。
    sub_bbox_expansion
    SAM 推理时 bbox 的扩展像素。默认值为 0。控制 SAM 提示区域大小。
    sam_mask_hint_threshold
    SAM 多点掩码提示的合并阈值。默认值为 0.7。控制 SAM 掩码生成的点筛选精度。
    post_dilation
    对最终输出的 SEGS 掩码做统一膨胀或腐蚀。默认值为 0。用于最后阶段的整体边界修整。
    暂无节点说明
    节点列表 首页