Closed larryaxinc closed 1 year ago
@larryaxinc We want to change Positive coordinate: [(500, 375)]
by mouse click. Can you set args.pos from mouse position, and update segmentation image by calling recognize_from_image? And image_embedding is constant with same image, so please cache image_embedding from img_enc, and only infer sam_net.
I want to segment where I clicked, like in this video. https://github.com/YavorGIvanov/sam.cpp
Thanks. Worked fine.
1266