corfyi / UCMCTrack

[AAAI 2024] UCMCTrack: Multi-Object Tracking with Uniform Camera Motion Compensation. UCMCTrack achieves SOTA on MOT17 using estimated camera parameters.
https://ojs.aaai.org/index.php/AAAI/article/download/28493/28960
MIT License
263 stars 25 forks source link

a question for function getUVError #20

Closed LSH9832 closed 6 months ago

LSH9832 commented 6 months ago

The following function is defined in file detector/mapper.py. Why u and v are both equal to 0.05 * bbox_height?

def getUVError(box):
    u = 0.05*box[3]
    v = 0.05*box[3]
    if u>13:
        u = 13
    elif u<2:
        u = 2
    if v>10:
        v = 10
    elif v<2:
        v = 2
    return u,v
corfyi commented 6 months ago

It appears to be an oversight in the implementation. In practice, using either bbox_height or bbox_width should yield similar results.