ByteTrack icon indicating copy to clipboard operation
ByteTrack copied to clipboard

跟踪的框偏大

Open zzh805780186 opened this issue 2 years ago • 10 comments

捕获 yolox-s检测后的框大小正常,bytetrack跟踪后的框就变得很大,这是什么情况呢?

zzh805780186 avatar Jul 05 '22 06:07 zzh805780186

这是对应的yolox-s的检测结果,检测的框大小比较正常 74

zzh805780186 avatar Jul 05 '22 06:07 zzh805780186

Hello, my tracking output is much larger than you. The aspect ratio is greater than 1.6 so that it is filtered out. Have you found the cause of the problem? @zzh805780186

NanH5837 avatar Jul 17 '22 02:07 NanH5837

I think It is caused by the Kalman Filter.

dyhBUPT avatar Jul 19 '22 03:07 dyhBUPT

是的,前一帧的时候因为目标只露出一半,所以检测框是扁的,下一帧卡尔曼预测错误,会更新出错误尺寸及比例的框

zzh805780186 avatar Jul 19 '22 11:07 zzh805780186

@zzh805780186 @dyhBUPT 是的,我也有类似的情况,当一个物体从镜头边缘出现时,跟踪框都会先变大,然后变成正常。有什么好的解决方法吗?

YuNaruto avatar Jul 26 '22 03:07 YuNaruto

@YuNaruto I have solved the problem by proposing the NSA Kalman Filter method. You can refer to the paper of GIAOTracker for more details and refer to the codes of StrongSORT for implementation.

Best wishes.

dyhBUPT avatar Jul 26 '22 12:07 dyhBUPT

@dyhBUPT

Thank you. I will read this paper carefully. Thank you again!

YuNaruto avatar Jul 27 '22 01:07 YuNaruto

你好,我也遇到过这种问题,目标刚进入检测范围内时,框就很大。不知道为什么... 另外小白想问个问题,希望能得到解答,谢谢~

就是bytetrack跟踪器有训练参数吗?官方提供的模型权重文件是不是就是再次训练yolox得到的权重呢?如果将bytetrack移植到yolov7的话,是不是只需要把yolov7在自己的数据集上再训练一下,然后在检测结果的基础上简单拼接上bytetrack就可以了呢?

SEUvictor avatar Sep 22 '22 09:09 SEUvictor

@YuNaruto I have solved the problem by proposing the NSA Kalman Filter method. You can refer to the paper of GIAOTracker for more details and refer to the codes of StrongSORT for implementation.

Best wishes.

竟然是StrongSort的作者!大佬好!膜拜一下! 想在此请教一下,想做一个基于yolov7的车辆跟踪,希望IDs不要太严重,然后尽量可以实时,您觉得yolov7配上bytetrack好呢,还是StrongSort会还一点呢?看了您的StrongSort,貌似fps比较低? 感谢!

SEUvictor avatar Sep 22 '22 09:09 SEUvictor

@YuNaruto I have solved the problem by proposing the NSA Kalman Filter method. You can refer to the paper of GIAOTracker for more details and refer to the codes of StrongSORT for implementation. Best wishes.

竟然是StrongSort的作者!大佬好!膜拜一下! 想在此请教一下,想做一个基于yolov7的车辆跟踪,希望IDs不要太严重,然后尽量可以实时,您觉得yolov7配上bytetrack好呢,还是StrongSort会还一点呢?看了您的StrongSort,貌似fps比较低? 感谢!

Thanks. You can try NSA Kalman Filter for your "big bbox" problem. It seems work well for @YuNaruto (https://github.com/dyhBUPT/StrongSORT/issues/41)

StrongSORT has a low FPS because of using the ReID model. So, ByteTrack or StrongSORT, it depends on your data.

Best wishes.

dyhBUPT avatar Sep 22 '22 09:09 dyhBUPT

@YuNaruto I have solved the problem by proposing the NSA Kalman Filter method. You can refer to the paper of GIAOTracker for more details and refer to the codes of StrongSORT for implementation. Best wishes.

竟然是StrongSort的作者!大佬好!膜拜一下! 想在此请教一下,想做一个基于yolov7的车辆跟踪,希望IDs不要太严重,然后尽量可以实时,您觉得yolov7配上bytetrack好呢,还是StrongSort会还一点呢?看了您的StrongSort,貌似fps比较低? 感谢!

Thanks. You can try NSA Kalman Filter for your "big bbox" problem. It seems work well for @YuNaruto (dyhBUPT/StrongSORT#41)

StrongSORT has a low FPS because of using the ReID model. So, ByteTrack or StrongSORT, it depends on your data.

Best wishes.

Thank you very much!

SEUvictor avatar Sep 22 '22 10:09 SEUvictor