Hikvision data format
Starting from version 2.7.0, OMNI Agent can convert facial data into Hikvision smart camera format. To send data in this format, open the Settings tab in the OMNI Agent web interface and click on Add a host under the HIKVISION ISAPI HOSTS section. In the Host field, enter the address of the integration app that accepts data in the Hikvision camera format.
Data structure
faceCapture
{
"activePostCount":1,
"channelID":1,
"channelName":"IPAlex", // camera title
"dateTime":"2024-03-18T13:32:44.972000+00:00",
"eventDescription":"faceCapture",
"eventState":"active",
"eventType":"faceCapture",
"faceCapture":[
{
"faces":[
{
"contentID":"faceImage", // the field contains the file faceImage.png
"enterTime":"2024-03-18T13:32:44.972000+00:00",
"faceExpression":{
"value":"poker-faced"
},
"faceId":11297203089638267291,
"faceRect":{
"height":503,
"width":441,
"x":247,
"y":374
}
}
],
"targetAttrs":{
"contentID":"backgroundImage",
"deviceChannel":1,
"deviceId":"28f2048b-8f01-4410-813a-79003eafbd50", // stream ID (specified in camera settings of Agent web interface)
"deviceName":"IPAlex", // camera title
"faceTime":"2024-03-18T13:32:44.972000+00:00"
},
"uid":"6c56acbf-25fc-42e8-a84a-d5d3266a27dc"
}
],
"ipAddress":"127.0.0.1",
"portNo":8080,
"protocol":"HTTP"
}