Deepsort目标跟踪算法绘制目标运动轨迹
Deepsort对于跟踪到的目标,利用cv2.line连接前后帧的跟踪框中点,从而得到目标轨迹有其他方法欢迎留言!wei zc1013x# outputs = [x1, y1, x2, y2, track_id]bbox_xyxy = outputs[:, :4]identities = outputs[:, -1]box_xywh = xyxy2tlwh(bbox_xyxy)# top left x top left y w hfor j in range(len(box_xy
原创
2021-03-23 15:17:37 ·
12424 阅读 ·
136 评论