Endpoints
/classify?sync=false|true - default is false/result/{id}Example
{
"id": "664371916d24ab9cf81140ec",
"status": {
"classify": "done",
"video": "done"
},
"parentId": "000000000000000000000000",
"cameraId": "134188-VI08",
"analyse_id": 3373550353,
"tenant": "tenant",
"duration": 2968236,
"duration_seconds": 2,
"model": "noname",
"version": "2.0.16123",
"error_code": 0,
"error_msg": "",
"risk": "intrusion",
"labels": [
"intrusion",
"person"
],
"scores": {
"flag": 0.04917147676228464,
"plant": 0.029940119760479042,
"web": 0.008982035928143716,
"NOTHING": 0.0004909645916406409,
"intrusion": 0.9730538922155688,
"person": 0.9730538922155688,
"rain": 0.0018018018018018014,
"spider": 0.006814155539197582,
"text": 0.0006343906582260771,
"wind": 0.02095808383233533,
"animal": 0.03490323977691366,
"other": 0.028108597054560112,
"vehicule": 0.10077824836276382
},
"video": {
"videoname": "video.mov",
"filesize": 786800,
"specs": {
"height": 320,
"original.width": 640,
"duration": 4.217772,
"fps": 3.082196003008223,
"nframes": 13,
"original.fps": 3,
"original.height": 360,
"original.nframes": 12,
"width": 568
}
},
"timing": {
"total": 2593.50306
},
"metadata": {
"no_trans": "20818",
"parc_origine": "RO",
"client_id": 134188,
"code_msg": "VI08",
"date_recep": "16-jan-2019 10:09:57",
"date_start_analyse": "2020-01-16 10:09:57.216"
},
"created_at": "2024-05-14T16:13:37.156313294+02:00",
"started_at": "2024-05-14T16:13:37.156313444+02:00"
}
Result is a type structure used in the response of the endpoint /classify?sync=true. Here are the details of its fields:
ID: The unique identifier of the result object.ParentID: The unique identifier of the parent object.CameraID: The unique identifier of the camera.AnalyseID: The identifier of the analysis.Tenant: The identifier of the tenant.Duration: The duration of the video in milliseconds.DurationSeconds: The duration of the video in seconds.Model: The model used for the analysis.Version: The version of the model used for the analysis.ErrorCode: Code indicating the error, if any.ErrorMessage: Detailed error message, if any.Risk: The risk determined by the analysis.