MCPcopy Create free account
hub / github.com/FoundationVision/ByteTrack / tlwh_to_tlbr

Method tlwh_to_tlbr

tutorials/qdtrack/tracker_reid_motion.py:156–159  ·  view source on GitHub ↗
(tlwh)

Source from the content-addressed store, hash-verified

154 @staticmethod
155 # @jit(nopython=True)
156 def tlwh_to_tlbr(tlwh):
157 ret = np.asarray(tlwh).copy()
158 ret[2:] += ret[:2]
159 return ret
160
161 def __repr__(self):
162 return 'OT_{}_({}-{})'.format(self.track_id, self.start_frame, self.end_frame)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected