Skip to content

Track Rect Width Abnormal #23

Closed
Closed

Description

@TRYOKETHEPEN

Original issue: #17
I got the same problem. cx/cy/h OK, only the a is abnormal.
Moreover, the larger the pixel width of the target object, the more obvious the abnormality in the width of the tracking box.
Image
Image

I added LatestDetectionRect attribute to STrack, which is used to get the latest detection bbox corresponding to a track_id, thus bypassing this issue.
But this is just a makeshift solution.

Activity

  1. TRYOKETHEPEN commented on Apr 7, 2026

    @TRYOKETHEPEN
    Author

    I find out why.

    In the Activate function of STrack, the initial standard deviation of va in stdArray is very small, which means that it assumes the aspect ratio of the object is almost constant. ( in order to achieve the best performance on the MOT dataset)

    However, in my application scenario, the object quickly appears from the right side of the screen, moves across to the left side, and disappears, causing the aspect ratio to change drastically.

    Therefore, I need to increase the initial standard deviation of va in stdArray, from 1e-5 to around 1e-2, which can solve this anomaly.

  2. Li-Chang-Yi commented on Nov 3, 2026

    @Li-Chang-Yi

    hello , i modify std(6) from 1e-5 to 1e-2 in bytekalmanfilter initiate function ,but seems no use,what can i do?

  3. Li-Chang-Yi commented on Nov 3, 2026

    @Li-Chang-Yi

    i also modify in predict function ,it seems works

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions