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

Method cx

PATH/core/solvers/utils/detools/box.py:38–42  ·  view source on GitHub ↗

:return: center x coordinate of bounding box

(self)

Source from the content-addressed store, hash-verified

36
37 @property
38 def cx(self):
39 """
40 :return: center x coordinate of bounding box
41 """
42 return self.x + self.w / 2.0
43
44 @property
45 def cy(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected