MCPcopy Create free account
hub / github.com/PeizeSun/SparseR-CNN / _convert_keypoints

Method _convert_keypoints

detectron2/utils/visualizer.py:1189–1193  ·  view source on GitHub ↗
(self, keypoints)

Source from the content-addressed store, hash-verified

1187 return ret
1188
1189 def _convert_keypoints(self, keypoints):
1190 if isinstance(keypoints, Keypoints):
1191 keypoints = keypoints.tensor
1192 keypoints = np.asarray(keypoints)
1193 return keypoints
1194
1195 def get_output(self):
1196 """

Callers 1

overlay_instancesMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected