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

Method ioa

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

:param boxB: the target bounding box to compute overlap :type boxB: BoxBase :return: the intersection area divided by the area of current bounding box

(self, boxB)

Source from the content-addressed store, hash-verified

123 return s0 / float(s+self.eps)
124
125 def ioa(self, boxB):
126 """
127 :param boxB: the target bounding box to compute overlap
128 :type boxB: BoxBase
129 :return: the intersection area divided by the area of current bounding box
130 """
131 return self.intersection(boxB) / float(self.area+self.eps)
132
133 def iob(self, boxB):
134 """

Callers

nothing calls this directly

Calls 1

intersectionMethod · 0.95

Tested by

no test coverage detected