ComfyUI Node
GroundingDINO 检测框
使用 GroundingDINO 根据文本提示在图片中检测目标框,并输出检测框列表和数量。
GroundingDINO 检测框
- grounding_dino_model
- image
- boxes
- box_count
◄prompt—►
◄threshold0.30►
CategoryKongshan/Local
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| grounding_dino_model | GROUNDING_DINO_MODEL | 已加载的 GroundingDINO 模型。 | |
| image | IMAGE | 待检测图片批次。每张图都会按相同 prompt 检测目标框。 | |
| prompt | STRING | 检测目标文本,例如 product、bottle、shoe。越具体越少误检,但过窄可能漏检。 | |
| threshold | FLOAT | 0.300–1 | 检测置信度阈值。降低会找到更多框但误检增加;提高会更严格但可能漏掉目标。 |
Outputs (2)
| Name | Type | Description |
|---|---|---|
| boxes | KS_DINO_BOXES | — |
| box_count | INT | — |