ssdobjectdetector: Use correct tensor data index for the scores

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/9322>
This commit is contained in:
Sebastian Dröge 2025-07-02 22:38:41 +03:00 committed by GStreamer Marge Bot
parent 18684c6d04
commit 7c1381cfd6

View File

@ -484,7 +484,7 @@ DEFINE_GET_FUNC (guint32, UINT32_MAX)
GQuark label = 0;
GstAnalyticsODMtd odmtd;
if (!get_float_at_index (tmeta->tensors[numdetect_index], &scores_map,
if (!get_float_at_index (tmeta->tensors[scores_index], &scores_map,
i, &score))
continue;