Last updated 8 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", "x": 0, "y": 0, "width": 0, "height": 0 } ] }), }); const data = await response.json();
{ "success": false, "error": "text" }