SamJ

ImgLib2
SciJava

Segment Anything Model (SAM), and similar models, wrapper for Java based software.