Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Payload Field

Type

Required

Description

timestamp

face_id

bbox

[JSON Body Example]

Code Block
{
  "jsonrpc": "2.0",
  "method": "notify",
  "params": {
    "app_instance_id": "89s7dyf98ydf98gy9s8d",
    "type" : "statistics"
    "priority" : "normal"
    "payload": 
    {
        "timestamp" : 201909151231122000,
        "face_id" : 1,        
        "bbox" : 
        {
            "confidence" : 0.65
            "x" : 10,
            "y" : 10,
            "width" : 100,
            "height" : 100
        },
        "age": 23,
        "gender": "m",
        "emotion" :
        {
            "Angry" : 0.1,
            "Contempt" : 0.1,
            "Disgust" : 0.1,
            "Fear" : 0.1,
            "Happiness" : 0.1,
            "Neutral" : 0.3,
            "Sad" : 0.1,
            "Surprise" : 0.1,
        },
        "landmark": [
            x0, y0, x1, y1...x66, y66, x67, y67
        ],
        "head_pose" : 
        {
            "pitch" : 3.0,
            "yaw" : 15.3,
            "roll" : 1.44
        },
        "recog_name" : "홍길동",
        "recog_confidence" : 0.75
    }
  },
  "id": "nk2-0"
}

...