Last updated 7 months ago
Set the bounding boxes for a sample
Project ID
Sample ID
OK
Whether the operation succeeded
Optional error description (set if 'success' was false)
const response = await fetch('https://studio.edgeimpulse.com/v1/api/{projectId}/raw-data/{sampleId}/bounding-boxes', { method: 'POST', headers: { "Content-Type": "application/json" }, body: JSON.stringify({ "boundingBoxes": [ { "label": "text" } ] }), }); const data = await response.json();
{ "success": false, "error": "text" }