Classify sample with post-processing
Classify a sample using post-processing parameters. Sample should be in the post-processing dataset.
Authorizations
Path parameters
projectIdintegerRequired
Project ID
postProcessingIdintegerRequired
Post-processing Block ID, use the impulse functions to retrieve the ID
sampleIdintegerRequired
Sample ID
Body
enabledbooleanRequired
Responses
200
OK
application/json
Responseany of
all ofOptional
all ofOptional
post
POST /v1/api/{projectId}/post-processing/{postProcessingId}/samples/{sampleId}/classify HTTP/1.1
Host: studio.edgeimpulse.com
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 64
{
"enabled": true,
"parameters": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
}
200
OK
{
"success": true,
"error": "text",
"results": {
"objectTracking": {
"frames": [
{
"frameIndex": 1,
"objects": [
{
"label": "text",
"id": 1,
"x": 1,
"y": 1,
"width": 1,
"height": 1
}
]
}
],
"parameters": {
"ANY_ADDITIONAL_PROPERTY": "text"
}
},
"objectDetection": {
"frames": [
{
"frameIndex": 1,
"objects": [
{
"label": "text",
"x": 1,
"y": 1,
"width": 1,
"height": 1,
"score": 1
}
]
}
]
}
}
}
Last updated
Was this helpful?