|
@@ -75,8 +75,7 @@ void TrackNode::work()
|
|
|
|
|
|
for (const auto& track : output_stracks) {
|
|
|
const std::vector<float>& tlwh = track.tlwh;
|
|
|
- int track_id = track.track_id;
|
|
|
- metaData->track_boxes.emplace_back(tlwh[0], tlwh[1], tlwh[0] + tlwh[2], tlwh[1] + tlwh[3], 1.0f, track_id, track_label_);
|
|
|
+ metaData->track_boxes.emplace_back(tlwh[0], tlwh[1], tlwh[0] + tlwh[2], tlwh[1] + tlwh[3], track.score, track.track_id, track_label_);
|
|
|
}
|
|
|
|
|
|
for (auto& output_buffer : output_buffers_)
|