Skip to content

Commit

Permalink
fix detection
Browse files Browse the repository at this point in the history
  • Loading branch information
thang-dao committed Aug 10, 2019
1 parent ac38fb3 commit d31c8b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deep_sort/sort/detection.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ def to_xyah(self):
"""
ret = self.tlwh.copy()
print(ret)
ret[:2] += ret[2:] / 2
ret[:2] += ret[2:4] / 2
ret[2] /= ret[3]
return ret

0 comments on commit d31c8b0

Please sign in to comment.