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

Method tlwh_to_tlbr

tutorials/trades/byte_tracker.py:137–140  ·  view source on GitHub ↗
(tlwh)

Source from the content-addressed store, hash-verified

135 @staticmethod
136 # @jit(nopython=True)
137 def tlwh_to_tlbr(tlwh):
138 ret = np.asarray(tlwh).copy()
139 ret[2:] += ret[:2]
140 return ret
141
142 def __repr__(self):
143 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