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

Method __init__

yolox/deepsort_tracker/detection.py:26–29  ·  view source on GitHub ↗
(self, tlwh, confidence, feature)

Source from the content-addressed store, hash-verified

24 """
25
26 def __init__(self, tlwh, confidence, feature):
27 self.tlwh = np.asarray(tlwh, dtype=np.float)
28 self.confidence = float(confidence)
29 self.feature = np.asarray(feature, dtype=np.float32)
30
31 def to_tlbr(self):
32 """Convert bounding box to format `(min x, min y, max x, max y)`, i.e.,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected