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

Method dumpOdf

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

:meth: dump the object into a dict :return: a dict with "box", "score", "occ" and "extra.ignore" keys

(self)

Source from the content-addressed store, hash-verified

304 self.matched = 0
305
306 def dumpOdf(self):
307 """
308 :meth: dump the object into a dict
309 :return: a dict with "box", "score", "occ" and "extra.ignore" keys
310 """
311 odf = super(DetBoxGT, self).dumpOdf()
312 odf["extra"] = {"ignore": self.ign}
313 odf["occ"] = self.occ
314 return odf
315
316 def _getDrawColor(self):
317 """

Callers

nothing calls this directly

Calls 1

dumpOdfMethod · 0.45

Tested by

no test coverage detected