* 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
- 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 image | screenshot (left: source; right: result) |
|---|---|
The test images have been confirmed to work with this version of the code, and the screenshots above were taken from the HuggingFace space.



