Versions Compared

Key

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

앱 인스턴스 종료에 사용하는 객체VI앱에서 송신하는 이벤트정보

Send Object

...

[Fields]

Payload Field

Type

Required

Description

timestamp

Integer

Required

타임스탬프

channel_no

Integer

Required

채널 번호

face_id

Integer

Required

얼굴 ID (현재 추적중인 얼굴 객체 ID)

bbox[]

Double, Integer

Required

얼굴 바운딩 박스

age

Integer

나이

gender

String

성별

emotion[]

Double

표정 (각 표정에 대한 점수)

landmark[]

Integer

얼굴의 랜드마크 x,y 좌표 (눈, 코, 입 등, 68개의 좌표)

headpose[]

Double

얼굴 자세 (상하, 좌우, 기울기)

image_uri

String

Required

이미지 URI

[JSON Body Example]

Code Block
languagejson
{
   "jsonrpc": "2.0timestamp",   "method": "notify",
  "params": {201909151231122000,
    "appchannel_instance_idno": "89s7dyf98ydf98gy9s8d",
    "type" : "statistics"
    "priority" : "normal"
    "payload": 
    {
        "timestamp" : 201909151231122000,
   : 1,
    "face_id" : 1,            
    "bbox" : 
  
     {
            "confidence" : 0.65
   
        "x" : 10,
   
        "y" : 10,
 
          "width" : 100,
 
          "height" : 100
   
    },
   
    "age": 23,

       "gender": "mMale",
   
    "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": [
            x0x1, y0y1, x1x2, y1y2...x66, y66, x67, y67, x68,  y68
     ],
   
    "head_pose" : 
   
    {
 
          "pitch" : 3.0,
 
          "yaw" : 15.3,
   
        "roll" : 1.44
   
    },

       "recogimage_nameuri" : "홍길동",
        "recog_confidence" : 0.75
    }
  },
  "id": "nk2-0"
http://www.nextk.co.kr/face_api/fr/20191014/face_00003.jpg",
}

Receive Object

No receive object.

Appendix

Face landmarks

...