Fix ALPR to return track id

This commit is contained in:
2026-03-30 20:14:47 +11:00
parent dd2009d87a
commit 120b0e4f01

View File

@@ -419,7 +419,8 @@ namespace ANSCENTER {
for (const auto& det : dets) {
results.push_back({
{"class_id", std::to_string(det.classId)},
{"track_id", std::to_string(det.trackId)},
//{"track_id", std::to_string(det.trackId)},
{"track_id", std::to_string(0)},
{"class_name", det.className},
{"prob", std::to_string(det.confidence)},
{"x", std::to_string(det.box.x)},