Skip to content

kijai/ComfyUI-segment-anything-2

Repository files navigation

WORK IN PROGRESS

PointsEditor is now available for testing in KJNodes: https://github.com/kijai/ComfyUI-KJNodes

comfy_sam2_image_example.mp4
points_editor_example.mp4
chrome_ZIuyDlDNjv.mp4

For testing only currently.

Functional, but needs better coordinate selector.

For now mask postprocessing is disabled due to it needing cuda extension compilation. We can use other nodes for this purpose anyway, so might leave it that way, we'll see.

Models are automatically downloade from https://huggingface.co/Kijai/sam2-safetensors/tree/main

to ComfyUI/models/sam2

Original repo:

https://github.com/facebookresearch/segment-anything-2