MCPcopy Create free account
hub / github.com/YavorGIvanov/sam.cpp / sam_encode_prompt

Function sam_encode_prompt

sam.cpp:1360–1444  ·  view source on GitHub ↗

encode a prompt - points - boxes - masks TODO: currently just encode a single point for simplicity

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

sam_build_fast_graphFunction · 0.85

Calls 2

n_img_sizeMethod · 0.80
n_img_embdMethod · 0.80

Tested by

no test coverage detected