:meth: dump the object into a dict :return: a dict with "box" and "score" keys
(self)
| 242 | self.score = odf["score"] |
| 243 | self.matched = 0 |
| 244 | def dumpOdf(self): |
| 245 | """ |
| 246 | :meth: dump the object into a dict |
| 247 | :return: a dict with "box" and "score" keys |
| 248 | """ |
| 249 | odf = super(DetBox, self).dumpOdf() |
| 250 | odf["score"] = self.score |
| 251 | return odf |
| 252 | |
| 253 | def _getDrawColor(self): |
| 254 | """ |
no outgoing calls