Track objects

Track objects

Track objects between two samples. Source sample should have bounding boxes set.

POSThttps://studio.edgeimpulse.com/v1/api/{projectId}/raw-data/track-objects
Path parameters
projectId*integer

Project ID

Body
sourceSampleId*integer
nextSampleId*integer
Response

OK

Body
success*boolean

Whether the operation succeeded

errorstring

Optional error description (set if 'success' was false)

boundingBoxes*array of BoundingBox (object)
Request
const response = await fetch('https://studio.edgeimpulse.com/v1/api/{projectId}/raw-data/track-objects', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({}),
});
const data = await response.json();
Response
{
  "success": false,
  "error": "text",
  "boundingBoxes": [
    {
      "label": "text"
    }
  ]
}

Last updated