Last updated 11 months ago
Was this helpful?
Set the bounding boxes for a sample
Project ID
Sample ID
This has the absolute values for x/y/w/h (so 0..x (where x is the w/h of the image))
curl -L \ --request POST \ --url 'https://studio.edgeimpulse.com/v1/api/{projectId}/raw-data/{sampleId}/bounding-boxes' \ --header 'x-api-key: YOUR_API_KEY' \ --header 'Content-Type: application/json' \ --data '{ "boundingBoxes": [ { "label": "text", "x": 1, "y": 1, "width": 1, "height": 1 } ] }'
{ "success": true, "error": "text" }