Successful response
JsonOutputObject example:
{
"jobId": "localhost-11",
"errors": [],
"warnings": [],
"objectId": "ef027349-8e6a-4472-a459-eba9463787f3",
"pipeline": {
"name": "OCV FACE DETECTION PIPELINE",
"description": "Performs OpenCV face detection.",
"tasks": [
{
"actionType": "DETECTION",
"name": "OCV FACE DETECTION TASK",
"description": "Performs OpenCV face detection.",
"actions": [
{
"algorithm": "FACECV",
"name": "OCV FACE DETECTION ACTION",
"description": "Executes the OpenCV face detection algorithm using the default parameters.",
"properties": {}
}
]
}
]
},
"priority": 4,
"siteId": "mpf1",
"externalJobId": null,
"timeStart": "2021-09-07T20:57:01.073Z",
"timeStop": "2021-09-07T20:57:02.946Z",
"status": "COMPLETE",
"algorithmProperties": {},
"jobProperties": {},
"environmentVariableProperties": {},
"media": [
{
"mediaId": 3,
"path": "file:///opt/mpf/share/remote-media/faces.jpg",
"sha256": "184e9b04369248ae8a97ec2a20b1409a016e2895686f90a2a1910a0bef763d56",
"mimeType": "image/jpeg",
"mediaType": "IMAGE",
"length": 1,
"mediaMetadata": {
"FRAME_HEIGHT": "1275",
"FRAME_WIDTH": "1920",
"MIME_TYPE": "image/jpeg"
},
"mediaProperties": {},
"status": "COMPLETE",
"detectionProcessingErrors": {},
"markupResult": null,
"output": {
"FACE": [
{
"source": "+#OCV FACE DETECTION ACTION",
"algorithm": "FACECV",
"tracks": [
{
"id": "d4b4a6e870c1378a3bc85a234b6f4c881f81a14edcf858d6d256d04ad40bc175",
"startOffsetFrame": 0,
"stopOffsetFrame": 0,
"startOffsetTime": 0,
"stopOffsetTime": 0,
"type": "FACE",
"source": "+#OCV FACE DETECTION ACTION",
"confidence": 5,
"trackProperties": {},
"exemplar": {
"offsetFrame": 0,
"offsetTime": 0,
"x": 652,
"y": 212,
"width": 277,
"height": 277,
"confidence": 5,
"detectionProperties": {},
"artifactExtractionStatus": "NOT_ATTEMPTED",
"artifactPath": null
},
"detections": [
{
"offsetFrame": 0,
"offsetTime": 0,
"x": 652,
"y": 212,
"width": 277,
"height": 277,
"confidence": 5,
"detectionProperties": {},
"artifactExtractionStatus": "NOT_ATTEMPTED",
"artifactPath": null
}
]
},
{
"id": "3d51c28fa7373930dc8d1381b4e76f583fce1c5a9802d82926d4476449789bff",
"startOffsetFrame": 0,
"stopOffsetFrame": 0,
"startOffsetTime": 0,
"stopOffsetTime": 0,
"type": "FACE",
"source": "+#OCV FACE DETECTION ACTION",
"confidence": 18,
"trackProperties": {},
"exemplar": {
"offsetFrame": 0,
"offsetTime": 0,
"x": 970,
"y": 165,
"width": 329,
"height": 329,
"confidence": 18,
"detectionProperties": {},
"artifactExtractionStatus": "NOT_ATTEMPTED",
"artifactPath": null
},
"detections": [
{
"offsetFrame": 0,
"offsetTime": 0,
"x": 970,
"y": 165,
"width": 329,
"height": 329,
"confidence": 18,
"detectionProperties": {},
"artifactExtractionStatus": "NOT_ATTEMPTED",
"artifactPath": null
}
]
}
]
}
]
}
},
{
"mediaId": 4,
"path": "file:///opt/mpf/share/remote-media/shell.jpg",
"sha256": "43fa105be8421f70f8335d84b21b10c7f17989a254fab76570113826e7cf6e0e",
"mimeType": "image/jpeg",
"mediaType": "IMAGE",
"length": 1,
"mediaMetadata": {
"FRAME_HEIGHT": "1258",
"FRAME_WIDTH": "1920",
"MIME_TYPE": "image/jpeg"
},
"mediaProperties": {},
"status": "COMPLETE",
"detectionProcessingErrors": {},
"markupResult": null,
"output": {
"NO TRACKS": [
{
"source": "+#OCV FACE DETECTION ACTION",
"algorithm": "FACECV"
}
]
}
}
]
}
|