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

Function joint_stracks

tutorials/fairmot/byte_tracker.py:353–364  ·  view source on GitHub ↗
(tlista, tlistb)

Source from the content-addressed store, hash-verified

351
352
353def joint_stracks(tlista, tlistb):
354 exists = {}
355 res = []
356 for t in tlista:
357 exists[t.track_id] = 1
358 res.append(t)
359 for t in tlistb:
360 tid = t.track_id
361 if not exists.get(tid, 0):
362 exists[tid] = 1
363 res.append(t)
364 return res
365
366
367def sub_stracks(tlista, tlistb):

Callers 1

updateMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected