sd-webui-segment-anything icon indicating copy to clipboard operation
sd-webui-segment-anything copied to clipboard

[Feature] Expose this extension through an API

Open jordan-barrett-jm opened this issue 1 year ago • 4 comments

I'd like to write a feature to expose this model through the segment webui API. This would be pretty straightforward to accomplish but ideally, the endpoint would not accept dots as the prompt, but text. When do you think the integration with Grounded DINO would be completed? It's something I've worked on before so if you haven't started yet I could probably knock it out today.

jordan-barrett-jm avatar Apr 11 '23 21:04 jordan-barrett-jm

Also would be ideal for https://github.com/continue-revolution/sd-webui-segment-anything/pull/12 to be merged so I can avoid conflicts

jordan-barrett-jm avatar Apr 11 '23 21:04 jordan-barrett-jm

I'd like to write a feature to expose this model through the segment webui API. This would be pretty straightforward to accomplish but ideally, the endpoint would not accept dots as the prompt, but text. When do you think the integration with Grounded DINO would be completed? It's something I've worked on before so if you haven't started yet I could probably knock it out today.

GroundingDINO integration almost completed, near the end of debug. I will soon review your code and merge it. Do you want to write API with GroundingDINO enabled? If yes, please stay tuned. I'll let you know when I finish integration.

continue-revolution avatar Apr 11 '23 21:04 continue-revolution

Yep, would prefer Grounding DINO be enabled before starting on it. Will sit tight then

jordan-barrett-jm avatar Apr 11 '23 21:04 jordan-barrett-jm

GroundingDINO support done via merging #21

continue-revolution avatar Apr 14 '23 19:04 continue-revolution