:meth: dump the object into a dict :return: a dict with "box", "score", "occ" and "extra.ignore" keys
(self)
| 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 | """ |