dinglufe / segment-anything-cpp-wrapper

MIT License
204 stars 35 forks source link

Support for Text Prompt #43

Open a333klm opened 5 months ago

a333klm commented 5 months ago

I want that the model segments based on an input string, e.g. "red cars". It seems that this is not yet supported in this implementation.

If I find time, I could try to add this. But I need a starting point. Can you give some advice?

Thanks for sharing this repo. It really helps.

dinglufe commented 5 months ago

I can add this API. But is Text Prompt input only supported by FastSAM?

a333klm commented 5 months ago

It seems that might be true. I think I saw it in one of the SAM models and incorrectly assumed it is available for all of them.