MCPcopy Create free account
hub / github.com/OpenGVLab/HumanBench / apply_coords

Method apply_coords

PATH/core/data/transforms/seg_aug_dev.py:310–313  ·  view source on GitHub ↗
(self, coords)

Source from the content-addressed store, hash-verified

308 )
309
310 def apply_coords(self, coords):
311 coords[:, 0] += self.x0
312 coords[:, 1] += self.y0
313 return coords
314
315 def inverse(self) -> Transform:
316 assert (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected