theAIGuysCode / yolov4-deepsort

Object tracking implemented with YOLOv4, DeepSort, and TensorFlow.
GNU General Public License v3.0
1.31k stars 745 forks source link

bounding box explode #164

Open hsiaochinglin opened 8 months ago

hsiaochinglin commented 8 months ago

Hi, I'm using RTX3070 run yolov4-gpu,but when i run the test video i downloaded from your code,the output video look like the picture i pasted.Did anyone encounter this problem? thanks! 1697778609912

raghav1129 commented 8 months ago

Use '.to_tlbr()' to fetch the Boudning box information for plotting. It returns in the form of x1, y1, x2, y2 and that is the format in which cv2.rectangle() works properly.