idea: interact with SAMJ from IJM macros/Jython scripts
xulman opened this issue · 0 comments
xulman commented
and also here:
Proposition 2: Macro callable
run(“SAMJ”, “Install model=EfficientSAM”)
setWindow(“image_to_annotate”)
run(“SAMJ”, “Encode model=EfficientSAM”)
makeRectangle(4, 11, 12, 4);
run(“SAMJ”, “Annotate mode=all”)
makePoint(20, 22, “small yellow”);
run(“SAMJ”, “Annotate mode=largest”)
makePoint(20, 22, “small yellow”);
run(“SAMJ”, “Annotate mode=largest”)
run(“SAMJ”, “Export”)