MCPcopy Create free account
hub / github.com/CAMMA-public/SurgLatentGraph / __init__

Method __init__

visualizer/SAMQueryVisualizer.py:13–16  ·  view source on GitHub ↗
(self, name: str, prefix: str = 'endoscapes', draw: bool = False, **kwargs)

Source from the content-addressed store, hash-verified

11@VISUALIZERS.register_module()
12class SAMQueryVisualizer(DetLocalVisualizer):
13 def __init__(self, name: str, prefix: str = 'endoscapes', draw: bool = False, **kwargs):
14 super().__init__(**kwargs)
15 self.prefix = prefix
16 self.draw = draw
17
18 def add_datasample(self, name: str, image: np.ndarray,
19 data_sample: Optional['DetDataSample'] = None,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected