Question about the initialization of the process uncertainty matrix (Q
) in ocsort.py
#1436
Closed
1 task done
Labels
question
Further information is requested
Search before asking
Question
Hi Mikel!
I have a question regarding the specific initialization of the process uncertainty matrix (
Q
) inocsort.py
.Inside the
KalmanBoxTracker
class,Q
is updated as follows:Is there a specific reason why
Q
is initialized this way, particularly with such low uncertainty values fot those entries?The reason behind this question is that we've been using the OC-SORT tracker on traffic scenarios with a stable, mounted camera. Due to the perspective of the camera the sizes of the objects bounding boxes can sometimes change drastically over time. Meanwhile the specific traffic setup leads to continuous variations in object speeds and directions. We noticed that resetting the uncertainty values in the covariance matrix (
Q
) to their original settings (np.eye(dim_x)
) significantly improved tracker performance in some scenarios without reducing performance in others.I haven't had a chance yet to validate this setup against other official MOT benchmarks to ensure it doesn't hurt performance. If I find the time, I'll also give that a try.
We'd love to understand the reasoning behind this specific initialization in the repository.
Thanks a lot for your help!
The text was updated successfully, but these errors were encountered: