YavorGIvanov / sam.cpp

MIT License
1.24k stars 52 forks source link

Does it take prompts? #23

Closed husnoo closed 6 months ago

husnoo commented 6 months ago

I couldn't see any code referring to prompting in the main.CPP.

YavorGIvanov commented 6 months ago

The only supported input prompt is points, which are determined by just clicking or hovering the chosen image. Additionally you can change the image by drag & drop. Do you mean mask prompts ?

husnoo commented 6 months ago

I had hoped that you could say "mask the dog" or something. But thanks anyway!

On Thu, 14 Dec 2023, 09:00 Yavor Ivanov, @.***> wrote:

The only supported input prompt is points, which are determined by just clicking or hovering the chosen image. Additionally you can change the image by drag & drop. Do you mean mask prompts ?

— Reply to this email directly, view it on GitHub https://github.com/YavorGIvanov/sam.cpp/issues/23#issuecomment-1855442031, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAWJWSRBFCZS5ASJN2RCBSTYJK53XAVCNFSM6AAAAABAR6RNGKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJVGQ2DEMBTGE . You are receiving this because you authored the thread.Message ID: @.***>

YavorGIvanov commented 6 months ago

Yeah. Haven't implemented this still. Checkout https://github.com/IDEA-Research/Grounded-Segment-Anything?tab=readme-ov-file#open_book-step-by-step-notebook-demo for this functionality.