ZQPei / deep_sort_pytorch

MOT using deepsort and yolov3 with pytorch
MIT License
2.81k stars 725 forks source link

How to make the detection frame more suitable for pedestrians #216

Open 1074727076 opened 3 years ago

1074727076 commented 3 years ago

Is it possible to simply modify the parameters to reduce the distance between the foot of the pedestrian and the detection frame

h-enes-simsek commented 3 years ago

What you said is not clear. But as I understand, you are asking the bounding boxes. YOLOv3 detections are good at determining the center point of the bboxes however, due to its algorithm, not good at boundries of bboxes. And that is why this code and comment is exist in yolov3_deepsort.py

# bbox dilation just in case bbox too small, delete this line if using a better pedestrian detector
 bbox_xywh[:, 3:] *= 1.2

You can simply change the number 1.2 or as Pei said, you can use different object detector.