curl --request POST \
--url https://studio.edgeimpulse.com/v1/api/{projectId}/raw-data/{sampleId}/bounding-boxes \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"boundingBoxes": [
{
"label": "<string>",
"x": 123,
"y": 123,
"width": 123,
"height": 123
}
]
}'
{
"success": true,
"error": "<string>"
}
Set the bounding boxes for a sample
curl --request POST \
--url https://studio.edgeimpulse.com/v1/api/{projectId}/raw-data/{sampleId}/bounding-boxes \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"boundingBoxes": [
{
"label": "<string>",
"x": 123,
"y": 123,
"width": 123,
"height": 123
}
]
}'
{
"success": true,
"error": "<string>"
}
OK
The response is of type object
.