MCPcopy Create free account
hub / github.com/UX-Decoder/Semantic-SAM / _convert_keypoints

Method _convert_keypoints

utils/visualizer.py:1270–1274  ·  view source on GitHub ↗
(self, keypoints)

Source from the content-addressed store, hash-verified

1268 self.draw_text(text, center, color=color)
1269
1270 def _convert_keypoints(self, keypoints):
1271 if isinstance(keypoints, Keypoints):
1272 keypoints = keypoints.tensor
1273 keypoints = np.asarray(keypoints)
1274 return keypoints
1275
1276 def get_output(self):
1277 """

Callers 1

overlay_instancesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected