Closed shamindraparui closed 1 year ago
Yes, ltrb stands for left top right bottom, aka (x1, y1, x2, y2).
The function you call return state predictions by Kalman filter by default. If you want to get back the original bbox, please flag orig=True
. See https://github.com/levan92/deep_sort_realtime#getting-bounding-box-of-original-detection.
Yes, I found the mistake, I was passing the coordinates as (x1, y1, x2, y2) instead of (x1, y1, w,h). Thanks @levan92
I am using the tracker as follows:
By manually debugging the
ltrb = track.to_ltrb()
I can see that it is returning bbox coordinates. Can you please tell me the order of the bbox coordinates (i.e. is each of them in x1, y1, x2, y2 order)? And why tracked bboxes are larger than original?