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:
parent
18684c6d04
commit
7c1381cfd6
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user