Classify an image

Classify an image

post

Test out a trained impulse (using a posted image).

Authorizations
Path parameters
projectIdintegerRequired

Project ID

Query parameters
impulseIdintegerOptional

Impulse ID. If this is unset then the default impulse is used.

Body
imagestring · binaryRequired
Responses
200
OK
application/json
Responseall of
post
POST /v1/api/{projectId}/classify/image HTTP/1.1
Host: studio.edgeimpulse.com
x-api-key: YOUR_API_KEY
Content-Type: multipart/form-data
Accept: */*
Content-Length: 18

{
  "image": "binary"
}
200

OK

{
  "success": true,
  "error": "text",
  "result": {
    "ANY_ADDITIONAL_PROPERTY": 1
  },
  "boundingBoxes": [
    {
      "label": "text",
      "x": 1,
      "y": 1,
      "width": 1,
      "height": 1,
      "score": 1
    }
  ]
}

Last updated

Was this helpful?