https://github.com/kijai/ComfyUI-segment-anything-2
ComfyUI nodes to use segment-anything-2
https://github.com/kijai/ComfyUI-segment-anything-2
Last synced: 4 months ago
JSON representation
ComfyUI nodes to use segment-anything-2
- Host: GitHub
- URL: https://github.com/kijai/ComfyUI-segment-anything-2
- Owner: kijai
- License: apache-2.0
- Created: 2024-07-30T13:37:50.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-10-03T18:41:02.000Z (7 months ago)
- Last Synced: 2024-12-14T05:01:30.960Z (4 months ago)
- Language: Python
- Size: 206 KB
- Stars: 682
- Watchers: 7
- Forks: 43
- Open Issues: 31
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
- awesome-comfyui - **ComfyUI-segment-anything-2** - anything-2](https://github.com/facebookresearch/segment-anything-2) for image or video segmentation. (All Workflows Sorted by GitHub Stars)
README
# WORK IN PROGRESS
PointsEditor is now available for testing in KJNodes: https://github.com/kijai/ComfyUI-KJNodes
https://github.com/user-attachments/assets/c4a88647-679f-4cf2-ba1f-4fa8c7308c1e
https://github.com/user-attachments/assets/f15fafe8-72e8-41cc-b246-e947b1efe5ec
https://github.com/user-attachments/assets/c1efb595-0fb1-4ae7-b4fa-2def08eda0a8
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