Use tracking information in front end
The tracking information is returned in place of the bounding box info once the tracking job completes.
You can currently distinguish a simple bounding box from a tracking bounding box like this:
// Simple bounding box (4x spatial, 2x param)
[x, y, w, h, confidence, class] = data
// Tracking bounding box (4x spatial, 1x param)
[x, y, w, h, id] = data
You can also explicitly add type=bounding_box
or type=tracking
, the former will query the Seldon Core service, and the latter will throw a 404 if no data exists.