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

Method __init__

PATH/core/solvers/utils/detools/box.py:278–283  ·  view source on GitHub ↗
(self, x=0.0, y=0.0, w=0.0, h=0.0, tag=None, ign=0, occ=0.0, color=None)

Source from the content-addressed store, hash-verified

276 :ivar int matched: if matched with a detection result. 0 for unmatched (default); 1 for matched
277 """
278 def __init__(self, x=0.0, y=0.0, w=0.0, h=0.0, tag=None, ign=0, occ=0.0, color=None):
279 super(DetBoxGT, self).__init__(x, y, w, h, tag)
280 self.ign = ign
281 self.occ = occ
282 self.matched = 0 # 0 for unmatched / 1 for matched
283 self.color = color
284
285 def parseOdf(self, odf):
286 """

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected