Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/FoundationVision/ByteTrack
/ tlbr_to_tlwh
Method
tlbr_to_tlwh
tutorials/jde/byte_tracker.py:122–125 ·
view source on GitHub ↗
(tlbr)
Source
from the content-addressed store, hash-verified
120
121
@staticmethod
122
def
tlbr_to_tlwh(tlbr):
123
ret = np.asarray(tlbr).copy()
124
ret[2:] -= ret[:2]
125
return
ret
126
127
@staticmethod
128
def
tlwh_to_tlbr(tlwh):
Callers
1
update
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected