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

Function unzip_objs

yolox/tracking_utils/io.py:109–116  ·  view source on GitHub ↗
(objs)

Source from the content-addressed store, hash-verified

107
108
109def unzip_objs(objs):
110 if len(objs) > 0:
111 tlwhs, ids, scores = zip(*objs)
112 else:
113 tlwhs, ids, scores = [], [], []
114 tlwhs = np.asarray(tlwhs, dtype=float).reshape(-1, 4)
115
116 return tlwhs, ids, scores

Callers 2

eval_frameMethod · 0.90
eval_fileMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected