Nodes/ComfyUI-lhyNodes/Mask to Coordinates (SAM2)
ComfyUI Node

Mask to Coordinates (SAM2)

Generate SAM conditions using mask brush.

By lihaoyun6·Created 11 months ago·Updated 5 days ago· 20
Mask to Coordinates (SAM2)
  • mask
  • coordinates
threshold0.65
max_regions50
points_per_region1
CategorylhyNodes/Mask

Inputs (4)

NameTypeDefaultDescription
maskMASK
thresholdFLOAT0.650–1
max_regionsINT501–100
points_per_regionINT11–100

Outputs (1)

NameTypeDescription
coordinatesSTRING