YOLOV5-DEEPSORT 代码解读
文件格式如下:
下面分别叙述每个文件的内容:
detection.py 代码解读
# vim: expandtab:ts=4:sw=4
import numpy as np
class Detection(object): #定义Detection 类 在deepsort中用到了这个类,用来生成一个detection的一个列表。
"""
This class represents a bounding box detection in a singl