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

Method position

tutorials/ctracker/test.py:39–42  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

37
38 @property
39 def position(self):
40 x = (self.curr_rect[0] + self.curr_rect[2])/2
41 y = (self.curr_rect[1] + self.curr_rect[3])/2
42 return np.array([x, y])
43
44 @property
45 def size(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected