cURL
curl --request POST \ --url https://studio.edgeimpulse.com/v1/api/{projectId}/post-processing/{postProcessingId}/samples/{sampleId}/classify \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --data ' { "config": { "enabled": true, "parameters": {} }, "variant": "int8" } '
{ "success": true, "results": { "objectTracking": { "frames": [ { "frameIndex": 123, "objects": [ { "label": "<string>", "id": 123, "x": 123, "y": 123, "width": 123, "height": 123 } ] } ], "parameters": {} }, "objectDetection": { "frames": [ { "frameIndex": 123, "objects": [ { "label": "<string>", "x": 123, "y": 123, "width": 123, "height": 123, "score": 123 } ] } ] } }, "error": "<string>" }
Classify a sample using post-processing parameters. Sample should be in the post-processing dataset.
Project ID
Post-processing Block ID, use the impulse functions to retrieve the ID
Sample ID
Show child attributes
int8
float32
akida
OK
Whether the operation succeeded
Optional error description (set if 'success' was false)
Was this page helpful?