(tlwh)
| 134 | @staticmethod |
| 135 | # @jit(nopython=True) |
| 136 | def tlwh_to_tlbr(tlwh): |
| 137 | ret = np.asarray(tlwh).copy() |
| 138 | ret[2:] += ret[:2] |
| 139 | return ret |
| 140 | |
| 141 | def __repr__(self): |
| 142 | return 'OT_{}_({}-{})'.format(self.track_id, self.start_frame, self.end_frame) |