Qidian213 / deep_sort_yolov3

Real-time Multi-person tracker using YOLO v3 and deep_sort with tensorflow
GNU General Public License v3.0
1.66k stars 592 forks source link

Double efficiency in demo.py #160

Open JJavier98 opened 4 years ago

JJavier98 commented 4 years ago

In demo.py we can subsitude lines 71 and 72:

boxs = yolo.detect_image(image)[0] confidence = yolo.detect_image(image)[1]

for:

boxs,confidence = yolo.detect_image(image)

to double the efficiency of the execution.