Files
Jan Minar 014a3ad88d working from the commandline
Various changes made to make it work from the command line

- Most of the functionality has been commented out
    - Gradio-specific code
    - HTML UI
    - Video processing
    - Operation modes other than mask generation
2024-09-29 20:39:16 +00:00

32 lines
770 B
Markdown

- 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
<table>
<tr><th>source image</th><th>screenshot (left: source; right: result)</th></tr>
<tr><td>
![01](01_source.png)
</td><td>
![01](01_bounding_boxes.jpeg)
</td></tr>
<tr><td>
![02](02_source.png)
</td><td>
![02](02_bounding_boxes.jpeg)
</td></tr>
</table>
The test images have been confirmed to work with this version of the code, and the screenshots above were taken from the [HuggingFace space](https://huggingface.co/spaces/SkalskiP/florence-sam).