Handling of Tracking Id in Bounding Boxes / Selected Person
Analysis endpoint returns bounding boxes that have no tracking id (see #1731) if tracking analysis has not run yet.
With the advent of the display of tracking-based information like kinesphere (see #1836 (closed) and #1740 (closed)) the .id
property of bounding boxes found in the BoundingBoxes.vue.boundingBoxes
array needs some thought.
An easy solution would be to have .id
be undefined
if there is no tracking available and adapt BoundingBoxes.vue.fetchBoundingBoxes()
to decide if a tracking id was returned and BoundingBoxes.vue.onClick()
to omit data-mb-tracking-id
if there is no tracking id.
Question is: is the .id
property used elsewhere where undefined
would break things?
Edited by Mittermeier, Maximilian