Files
Jan Minar 8432c4a772 Fix model paths
* move SAM2 models to models/sam2, to mirror the .../ComfyUI/models/sam2
  directory structure
* fix the command-line interface
* add masked output images to the test/ directory
2024-09-30 03:04:22 +00:00
..
2024-09-30 03:04:22 +00:00
2024-09-30 03:04:22 +00:00
2024-09-29 20:39:16 +00:00
2024-09-30 03:04:22 +00:00
2024-09-30 03:04:22 +00:00
2024-09-29 20:39:16 +00:00
2024-09-29 20:39:16 +00:00

  • 1 image goes in and has a prompt "products" and then out comes a mask with all the segmented products in the image
  • But it could output a batch or list (I will probably just end up combining them all in the next node)

Note: Instead of bounding boxes with labels we just need the masks that's it

source imagescreenshot (left: source; right: result)

01

01

02

02

The test images have been confirmed to work with this version of the code, and the screenshots above were taken from the HuggingFace space.