Skip to main content
POST
Classify an image

Authorizations

x-api-key
string
header
required

Path Parameters

projectId
integer
required

Project ID

Query Parameters

impulseId
integer

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

Body

multipart/form-data
image
file
required

Response

200 - application/json

OK

success
boolean
required

Whether the operation succeeded

error
string

Optional error description (set if 'success' was false)

result
object

Classification value per label. For a neural network this will be the confidence, for anomalies the anomaly score.

boundingBoxes
object[]
freeformResult
object
anomalyResult
object[]

Anomaly scores and computed metrics for visual anomaly detection, one item per window.