POST
/
api
/
{projectId}
/
raw-data
/
{sampleId}
/
autolabel
Auto-label an image
curl --request POST \
  --url https://studio.edgeimpulse.com/v1/api/{projectId}/raw-data/{sampleId}/autolabel \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "neuralNetwork": "yolov5"
}'
{
  "success": true,
  "error": "<string>",
  "results": [
    {
      "label": "<string>",
      "x": 123,
      "y": 123,
      "width": 123,
      "height": 123
    }
  ],
  "allLabels": [
    "<string>"
  ]
}

Authorizations

x-api-key
string
header
required

Path Parameters

projectId
integer
required

Project ID

sampleId
integer
required

Sample ID

Body

application/json

Response

200 - application/json

OK

The response is of type object.