HumanDetection - TakayukiHoshi1984/DeviceConnect-Spec GitHub Wiki
ã¹ããŒãããã€ã¹ã®äººäœæ€åºæ©èœãæäŸããAPIã
API | æŠèŠ |
---|---|
GET /gotapi/humanDetection/onBodyDetection | äœãæ€åºãããšãã®éç¥ã€ãã³ããååŸããã |
PUT /gotapi/humanDetection/onBodyDetection | äœãæ€åºãããšãã®éç¥ã€ãã³ããéå§ããã |
DELETE /gotapi/humanDetection/onBodyDetection | äœãæ€åºãããšãã®éç¥ã€ãã³ããåæ¢ããã |
GET /gotapi/humanDetection/onDetection | 人ãæ€åºãããšãã®éç¥ã€ãã³ããååŸããã |
PUT /gotapi/humanDetection/onDetection | 人ãæ€åºãããšãã®éç¥ã€ãã³ããéå§ããã |
DELETE /gotapi/humanDetection/onDetection | 人ãæ€åºãããšãã®éç¥ã€ãã³ããåæ¢ããã |
GET /gotapi/humanDetection/onFaceDetection | é¡ãæ€åºãããšãã®éç¥ã€ãã³ããååŸããã |
PUT /gotapi/humanDetection/onFaceDetection | é¡ãæ€åºãããšãã®éç¥ã€ãã³ããéå§ããã |
DELETE /gotapi/humanDetection/onFaceDetection | é¡ãæ€åºãããšãã®éç¥ã€ãã³ããåæ¢ããã |
GET /gotapi/humanDetection/onHandDetection | æãæ€åºãããšãã®éç¥ã€ãã³ããååŸããã |
PUT /gotapi/humanDetection/onHandDetection | æãæ€åºãããšãã®éç¥ã€ãã³ããéå§ããã |
DELETE /gotapi/humanDetection/onHandDetection | æãæ€åºãããšãã®éç¥ã€ãã³ããåæ¢ããã |
one-shot
äœãæ€åºãããšãã®éç¥ã€ãã³ããååŸããã
ãã©ã°ã€ã³åŽã§ãã£ãã·ã¥ããŠããææ°ã®ã€ãã³ãã¡ãã»ãŒãžã1ã€ååŸããã
ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|
serviceId | string | Yes | ãµãŒãã¹IDãååŸå¯Ÿè±¡ã¹ããŒãããã€ã¹ |
threshold | float | No | æ€åºãããå€ãçç¥æã¯ããã€ã¹åæå€ èšå®ã§ããå€ã®ç¯å²:0.0~1.0 |
minWidth | float | No | æ€åºæå°ãµã€ãº(w)ã minHeight < maxHeightãšããããšãçç¥æããã€ã¹åæå€ã èšå®ã§ããå€ã®ç¯å²:0.0~1.0 |
minHeight | float | No | æ€åºæå°ãµã€ãº(h)ã minHeight < maxHeightãšããããšãçç¥æã¯ããã€ã¹åæå€ èšå®ã§ããå€ã®ç¯å²:0.0~1.0 |
maxWidth | float | No | æ€åºæ倧ãµã€ãº(w)ã minWidth < maxWidthãšããããšãçç¥æã¯ããã€ã¹åæå€ èšå®ã§ããå€ã®ç¯å²:0.0~1.0 |
maxHeight | float | No | æ€åºæ倧ãµã€ãº(h)ã minHeight < maxHeightãšããããšãçç¥æã¯ããã€ã¹åæå€ã èšå®ã§ããå€ã®ç¯å²:0.0~1.0 |
options | array(string) | No | å©çšãããªãã·ã§ã³æ©èœãå©çšãããªãã·ã§ã³æ©èœãæå®ãããè€æ°æå®å¯èœã çç¥æã¯æå®ãªãã â»äœ¿çšã§ãããªãã·ã§ã³ã¯ç¡ãã |
è«çå | ç©çå | ããŒã¿å | å¿ é | 説æ | |
---|---|---|---|---|---|
åŠççµæ | result | integer | Yes | 0:æ£åžžå¿ç 0以å€:ç°åžžå¿ç |
|
ã·ã¹ãã å | product | string | Yes | DeviceConnectã·ã¹ãã ã®ååã | |
ã·ã¹ãã ããŒãžã§ã³ | version | string | Yes | DeviceConnectã·ã¹ãã ã®ããŒãžã§ã³åã | |
眲å | hmac | string | No | ã¬ã¹ãã³ã¹ã«å¯Ÿãã眲åã ã¢ããªã±ãŒã·ã§ã³åŽããäºåã«HMACããŒãå ±æãããŠããå Žåã¯å¿ é ã |
|
人äœæ€åºãªã¹ã | bodyDetects | array(object) | Yes | æ€åºãããæ°ååºçŸããã | |
æ€åºé åã®äžå¿Xåº§æš | x | float | Yes | 0.0~1.0 | |
æ€åºé åã®äžå¿Yåº§æš | y | float | Yes | 0.0~1.0 | |
æ€åºé åã®Xæ¹åã®å¹ | width | float | No | â»é åå¹
ãæäŸã§ããªãå Žåã¯åºçŸããªãã 0.0~1.0 |
|
æ€åºé åã®Yæ¹åã®å¹ | height | float | No | â»é åå¹
ãæäŸã§ããªãå Žåã¯åºçŸããªãã 0.0~1.0 |
|
解æã®ä¿¡é ŒåºŠ | confidence | float | Yes | 0.0~1.0 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "bodyDetects" : [ { "x" : 0.47291666666666665, "y" : 0.6712962962962963, "width" : 0.271875, "height" : 0.48333333333333334, "confidence" : 0.907 }, { "x" : 0.034375, "y" : 0.8925925925925926, "width" : 0.036458333333333336, "height" : 0.06481481481481481, "confidence" : 0.746 }, { "x" : 0.9515625, "y" : 0.9592592592592593, "width" : 0.03177083333333333, "height" : 0.05648148148148148, "confidence" : 0.619 } ] }
event
äœãæ€åºãããšãã®éç¥ã€ãã³ããéå§ããã
ã¹ããŒãããã€ã¹ã§ãµããŒãããŠããªããã©ã¡ãŒã¿ãããå Žåã«ã¯ã ãã®ãã©ã¡ãŒã¿ãçç¥ããã
ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|
serviceId | string | Yes | ãµãŒãã¹IDãååŸå¯Ÿè±¡ã¹ããŒãããã€ã¹ |
threshold | float | No | æ€åºãããå€ãçç¥æã¯ããã€ã¹åæå€ èšå®ã§ããå€ã®ç¯å²:0.0~1.0 |
minWidth | float | No | æ€åºæå°ãµã€ãº(w)ã minHeight < maxHeightãšããããšãçç¥æããã€ã¹åæå€ã èšå®ã§ããå€ã®ç¯å²:0.0~1.0 |
minHeight | float | No | æ€åºæå°ãµã€ãº(h)ã minHeight < maxHeightãšããããšãçç¥æã¯ããã€ã¹åæå€ èšå®ã§ããå€ã®ç¯å²:0.0~1.0 |
maxWidth | float | No | æ€åºæ倧ãµã€ãº(w)ã minWidth < maxWidthãšããããšãçç¥æã¯ããã€ã¹åæå€ èšå®ã§ããå€ã®ç¯å²:0.0~1.0 |
maxHeight | float | No | æ€åºæ倧ãµã€ãº(h)ã minHeight < maxHeightãšããããšãçç¥æã¯ããã€ã¹åæå€ã èšå®ã§ããå€ã®ç¯å²:0.0~1.0 |
interval | long | No | ããã€ã¹ãã©ã°ã€ã³ãã€ãã³ããéä¿¡ããééã |
options | array(string) | No | å©çšãããªãã·ã§ã³æ©èœãå©çšãããªãã·ã§ã³æ©èœãæå®ãããè€æ°æå®å¯èœã çç¥æã¯æå®ãªãã â»äœ¿çšã§ãããªãã·ã§ã³ã¯ç¡ãã |
è«çå | ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|---|
åŠççµæ | result | integer | Yes | 0:æ£åžžå¿ç 0以å€:ç°åžžå¿ç |
ã·ã¹ãã å | product | string | Yes | DeviceConnectã·ã¹ãã ã®ååã |
ã·ã¹ãã ããŒãžã§ã³ | version | string | Yes | DeviceConnectã·ã¹ãã ã®ããŒãžã§ã³åã |
眲å | hmac | string | No | ã¬ã¹ãã³ã¹ã«å¯Ÿãã眲åã ã¢ããªã±ãŒã·ã§ã³åŽããäºåã«HMACããŒãå ±æãããŠããå Žåã¯å¿ é ã |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
è«çå | ç©çå | ããŒã¿å | å¿ é | 説æ | |
---|---|---|---|---|---|
ãµãŒãã¹ID | serviceId | string | Yes | ã€ãã³ããéä¿¡ãããµãŒãã¹ã®ID | |
ãããã¡ã€ã«å | profile | string | Yes | ãããã¡ã€ã«åã | |
ã€ã³ã¿ãŒãã§ãŒã¹å | interface | string | Yes | ã€ã³ã¿ãŒãã§ãŒã¹åã | |
ã¢ããªãã¥ãŒãå | attribute | string | Yes | ã¢ããªãã¥ãŒãåã | |
人äœæ€åºãªã¹ã | bodyDetects | array(object) | Yes | æ€åºãããæ°ååºçŸããã | |
æ€åºé åã®äžå¿Xåº§æš | x | float | Yes | 0.0~1.0 | |
æ€åºé åã®äžå¿Yåº§æš | y | float | Yes | 0.0~1.0 | |
æ€åºé åã®Xæ¹åã®å¹ | width | float | No | â»é åå¹
ãæäŸã§ããªãå Žåã¯åºçŸããªãã 0.0~1.0 |
|
æ€åºé åã®Yæ¹åã®å¹ | height | float | No | â»é åå¹
ãæäŸã§ããªãå Žåã¯åºçŸããªãã 0.0~1.0 |
|
解æã®ä¿¡é ŒåºŠ | confidence | float | Yes | 0.0~1.0 |
{ "serviceId" : "Host.exampleId.localhost.deviceconnect.org", "profile" : "humandetection", "attribute" : "onbodydetection", "bodyDetects" : [ { "x" : 0.47291666666666665, "y" : 0.6712962962962963, "width" : 0.271875, "height" : 0.48333333333333334, "confidence" : 0.907 }, { "x" : 0.034375, "y" : 0.8925925925925926, "width" : 0.036458333333333336, "height" : 0.06481481481481481, "confidence" : 0.746 }, { "x" : 0.9515625, "y" : 0.9592592592592593, "width" : 0.03177083333333333, "height" : 0.05648148148148148, "confidence" : 0.619 } ] }
event
äœãæ€åºãããšãã®éç¥ã€ãã³ããåæ¢ããã
ã¹ããŒãããã€ã¹ã§ãµããŒãããŠããªããã©ã¡ãŒã¿ãããå Žåã«ã¯ã ãã®ãã©ã¡ãŒã¿ãçç¥ããã
ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|
serviceId | string | Yes | ãµãŒãã¹IDãååŸå¯Ÿè±¡ã¹ããŒãããã€ã¹ |
è«çå | ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|---|
åŠççµæ | result | integer | Yes | 0:æ£åžžå¿ç 0以å€:ç°åžžå¿ç |
ã·ã¹ãã å | product | string | Yes | DeviceConnectã·ã¹ãã ã®ååã |
ã·ã¹ãã ããŒãžã§ã³ | version | string | Yes | DeviceConnectã·ã¹ãã ã®ããŒãžã§ã³åã |
眲å | hmac | string | No | ã¬ã¹ãã³ã¹ã«å¯Ÿãã眲åã ã¢ããªã±ãŒã·ã§ã³åŽããäºåã«HMACããŒãå ±æãããŠããå Žåã¯å¿ é ã |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
one-shot
人ãæ€åºãããšãã®éç¥ã€ãã³ããååŸããã
ãã©ã°ã€ã³åŽã§ãã£ãã·ã¥ããŠããææ°ã®ã€ãã³ãã¡ãã»ãŒãžã1ã€ååŸããã
ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|
serviceId | string | Yes | ãµãŒãã¹IDãååŸå¯Ÿè±¡ã¹ããŒãããã€ã¹ |
è«çå | ç©çå | ããŒã¿å | å¿ é | 説æ | |
---|---|---|---|---|---|
åŠççµæ | result | integer | Yes | 0:æ£åžžå¿ç 0以å€:ç°åžžå¿ç |
|
ã·ã¹ãã å | product | string | Yes | DeviceConnectã·ã¹ãã ã®ååã | |
ã·ã¹ãã ããŒãžã§ã³ | version | string | Yes | DeviceConnectã·ã¹ãã ã®ããŒãžã§ã³åã | |
眲å | hmac | string | No | ã¬ã¹ãã³ã¹ã«å¯Ÿãã眲åã ã¢ããªã±ãŒã·ã§ã³åŽããäºåã«HMACããŒãå ±æãããŠããå Žåã¯å¿ é ã |
|
人æ€åºæ å ± | humanDetect | object | Yes | ||
人æ€åºãã©ã° | exist | boolean | Yes | æ€åºããã : true æ€åºãããªã : false' |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "humanDetect" : { "exist" : true } }
event
人ãæ€åºãããšãã®éç¥ã€ãã³ããéå§ããã
ã¹ããŒãããã€ã¹ã§ãµããŒãããŠããªããã©ã¡ãŒã¿ãããå Žåã«ã¯ã ãã®ãã©ã¡ãŒã¿ãçç¥ããã
ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|
serviceId | string | Yes | ãµãŒãã¹IDãååŸå¯Ÿè±¡ã¹ããŒãããã€ã¹ |
interval | long | No | ããã€ã¹ãã©ã°ã€ã³ãã€ãã³ããéä¿¡ããééã |
è«çå | ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|---|
åŠççµæ | result | integer | Yes | 0:æ£åžžå¿ç 0以å€:ç°åžžå¿ç |
ã·ã¹ãã å | product | string | Yes | DeviceConnectã·ã¹ãã ã®ååã |
ã·ã¹ãã ããŒãžã§ã³ | version | string | Yes | DeviceConnectã·ã¹ãã ã®ããŒãžã§ã³åã |
眲å | hmac | string | No | ã¬ã¹ãã³ã¹ã«å¯Ÿãã眲åã ã¢ããªã±ãŒã·ã§ã³åŽããäºåã«HMACããŒãå ±æãããŠããå Žåã¯å¿ é ã |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
è«çå | ç©çå | ããŒã¿å | å¿ é | 説æ | |
---|---|---|---|---|---|
ãµãŒãã¹ID | serviceId | string | Yes | ã€ãã³ããéä¿¡ãããµãŒãã¹ã®ID | |
ãããã¡ã€ã«å | profile | string | Yes | ãããã¡ã€ã«åã | |
ã€ã³ã¿ãŒãã§ãŒã¹å | interface | string | Yes | ã€ã³ã¿ãŒãã§ãŒã¹åã | |
ã¢ããªãã¥ãŒãå | attribute | string | Yes | ã¢ããªãã¥ãŒãåã | |
人æ€åºæ å ± | humanDetect | object | Yes | ||
人æ€åºãã©ã° | exist | boolean | Yes | æ€åºããã : true æ€åºãããªã : false' |
{ "serviceId" : "Host.exampleId.localhost.deviceconnect.org", "profile" : "humandetection", "attribute" : "ondetection", "humanDetect" : { "exist" : true } }
event
人ãæ€åºãããšãã®éç¥ã€ãã³ããåæ¢ããã
ã¹ããŒãããã€ã¹ã§ãµããŒãããŠããªããã©ã¡ãŒã¿ãããå Žåã«ã¯ã ãã®ãã©ã¡ãŒã¿ãçç¥ããã
ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|
serviceId | string | Yes | ãµãŒãã¹IDãååŸå¯Ÿè±¡ã¹ããŒãããã€ã¹ |
è«çå | ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|---|
åŠççµæ | result | integer | Yes | 0:æ£åžžå¿ç 0以å€:ç°åžžå¿ç |
ã·ã¹ãã å | product | string | Yes | DeviceConnectã·ã¹ãã ã®ååã |
ã·ã¹ãã ããŒãžã§ã³ | version | string | Yes | DeviceConnectã·ã¹ãã ã®ããŒãžã§ã³åã |
眲å | hmac | string | No | ã¬ã¹ãã³ã¹ã«å¯Ÿãã眲åã ã¢ããªã±ãŒã·ã§ã³åŽããäºåã«HMACããŒãå ±æãããŠããå Žåã¯å¿ é ã |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
one-shot
é¡ãæ€åºãããšãã®éç¥ã€ãã³ããååŸããã
ãã©ã°ã€ã³åŽã§ãã£ãã·ã¥ããŠããææ°ã®ã€ãã³ãã¡ãã»ãŒãžã1ã€ååŸããã
ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|
serviceId | string | Yes | ãµãŒãã¹IDãååŸå¯Ÿè±¡ã¹ããŒãããã€ã¹ |
threshold | float | No | æ€åºãããå€ãçç¥æã¯ããã€ã¹åæå€ èšå®ã§ããå€ã®ç¯å²:0.0~1.0 |
minWidth | float | No | æ€åºæå°ãµã€ãº(w)ã minHeight < maxHeightãšããããšãçç¥æããã€ã¹åæå€ã èšå®ã§ããå€ã®ç¯å²:0.0~1.0 |
minHeight | float | No | æ€åºæå°ãµã€ãº(h)ã minHeight < maxHeightãšããããšãçç¥æã¯ããã€ã¹åæå€ èšå®ã§ããå€ã®ç¯å²:0.0~1.0 |
maxWidth | float | No | æ€åºæ倧ãµã€ãº(w)ã minWidth < maxWidthãšããããšãçç¥æã¯ããã€ã¹åæå€ èšå®ã§ããå€ã®ç¯å²:0.0~1.0 |
maxHeight | float | No | æ€åºæ倧ãµã€ãº(h)ã minHeight < maxHeightãšããããšãçç¥æã¯ããã€ã¹åæå€ã èšå®ã§ããå€ã®ç¯å²:0.0~1.0 |
eyeThreshold | float | No | ç®ã®åº§æšæ€åºãããå€ãçç¥æã¯ããã€ã¹åæå€ã èšå®ã§ããå€ã®ç¯å²:0.0~1.0 |
noseThreshold | float | No | 錻ã®åº§æšæ€åºãããå€ãçç¥æã¯ããã€ã¹åæå€ã èšå®ã§ããå€ã®ç¯å²:0.0~1.0 |
mouthThreshold | float | No | å£ã®åº§æšæ€åºãããå€ãçç¥æã¯ããã€ã¹åæå€ã èšå®ã§ããå€ã®ç¯å²:0.0~1.0 |
blinkThreshold | float | No | ç®ã€ããæ€åºãããå€ãçç¥æã¯ããã€ã¹åæå€ã èšå®ã§ããå€ã®ç¯å²:0.0~1.0 |
ageThreshold | float | No | 幎霢æšå®ãããå€ãçç¥æã¯ããã€ã¹åæå€ã èšå®ã§ããå€ã®ç¯å²:0.0~1.0 |
genderThreshold | float | No | æ§å¥æšå®ãããå€ãçç¥æã¯ããã€ã¹åæå€ã èšå®ã§ããå€ã®ç¯å²:0.0~1.0 |
faceDirectionThreshold | float | No | é¡åãæšå®ãããå€ãçç¥æã¯ããã€ã¹åæå€ã èšå®ã§ããå€ã®ç¯å²:0.0~1.0 |
gazeThreshold | float | No | èŠç·æšå®ãããå€ãçç¥æã¯ããã€ã¹åæå€ã èšå®ã§ããå€ã®ç¯å²:0.0~1.0 |
expressionThreshold | float | No | è¡šæ
æšå®ãããå€ãçç¥æã¯ããã€ã¹åæå€ã èšå®ã§ããå€ã®ç¯å²:0.0~1.0 |
options | array(string) | No | å©çšãããªãã·ã§ã³æ©èœãå©çšãããªãã·ã§ã³æ©èœãæå®ãããè€æ°æå®å¯èœã çç¥æã¯æå®ãªãã â»äœ¿çšã§ãããªãã·ã§ã³ã¯ããã€ã¹ãã©ã°ã€ã³ã«ãã£ãŠéãã äŸ) eye,nose, mouth,blink,age,gender,faceDirection,gaze,expression ãã«ã³ãåºåãã§æå®ããããšã§ã ããããã®æ€åºå€ãããå Žåã¯ã¬ã¹ãã³ã¹ã«å«ããããšãã§ããã ãã ããããã€ã¹ã«ãã£ãŠå¯Ÿå¿ããŠããªãå€ãããã |
è«çå | ç©çå | ããŒã¿å | å¿ é | 説æ | ||
---|---|---|---|---|---|---|
åŠççµæ | result | integer | Yes | 0:æ£åžžå¿ç 0以å€:ç°åžžå¿ç |
||
ã·ã¹ãã å | product | string | Yes | DeviceConnectã·ã¹ãã ã®ååã | ||
ã·ã¹ãã ããŒãžã§ã³ | version | string | Yes | DeviceConnectã·ã¹ãã ã®ããŒãžã§ã³åã | ||
眲å | hmac | string | No | ã¬ã¹ãã³ã¹ã«å¯Ÿãã眲åã ã¢ããªã±ãŒã·ã§ã³åŽããäºåã«HMACããŒãå ±æãããŠããå Žåã¯å¿ é ã |
||
é¡æ€åºãªã¹ã | faceDetects | array(object) | Yes | æ€åºãããæ°ååºçŸããã | ||
æ€åºé åã®äžå¿Xåº§æš | x | float | Yes | 0.0~1.0 | ||
æ€åºé åã®äžå¿Yåº§æš | y | float | Yes | 0.0~1.0 | ||
æ€åºé åã®Xæ¹åã®å¹ | width | float | No | â»é åå¹
ãæäŸã§ããªãå Žåã¯åºçŸããªãã 0.0~1.0 |
||
æ€åºé åã®Yæ¹åã®å¹ | height | float | No | â»é åå¹
ãæäŸã§ããªãå Žåã¯åºçŸããªãã 0.0~1.0 |
||
解æã®ä¿¡é ŒåºŠ | confidence | float | Yes | 0.0~1.0 | ||
ç®æ€åºæ å ± | eyePoints | object | No | |||
å·Šç®ã®äžå¿åº§æš(x) | leftEyeX | float | No | 0.0~1.0 | ||
å·Šç®ã®äžå¿åº§æš(y) | leftEyeY | float | No | 0.0~1.0 | ||
å·Šç®ã®é åå¹ (w) | leftEyeWidth | float | No | â»é åå¹
ãæäŸã§ããªãå Žåã¯åºçŸããªãã 0.0~1.0 |
||
å·Šç®ã®é åå¹ (h) | leftEyeHeight | float | No | â»é åå¹
ãæäŸã§ããªãå Žåã¯åºçŸããªãã 0.0~1.0 |
||
å³ç®ã®äžå¿åº§æš(x) | rightEyeX | float | No | 0.0~1.0 | ||
å³ç®ã®äžå¿åº§æš(y) | rightEyeY | float | No | 0.0~1.0 | ||
å³ç®ã®é åå¹ (w) | rightEyeWidth | float | No | â»é åå¹
ãæäŸã§ããªãå Žåã¯åºçŸããªãã 0.0~1.0 |
||
å³ç®ã®é åå¹ (h) | rightEyeHeight | float | No | â»é åå¹
ãæäŸã§ããªãå Žåã¯åºçŸããªãã 0.0~1.0 |
||
解æã®ä¿¡é ŒåºŠ | confidence | float | No | 0.0~1.0 | ||
錻æ€åºæ å ± | nosePoints | object | No | |||
錻ã®äžå¿åº§æš(x) | noseX | float | No | 0.0~1.0 | ||
錻ã®äžå¿åº§æš(y) | noseY | float | No | 0.0~1.0 | ||
錻ã®é åå¹ (w) | noseWidth | float | No | â»é åå¹
ãæäŸã§ããªãå Žåã¯åºçŸããªãã 0.0~1.0 |
||
錻ã®é åå¹ (h) | noseHeight | float | No | â»é åå¹
ãæäŸã§ããªãå Žåã¯åºçŸããªãã 0.0~1.0 |
||
解æã®ä¿¡é ŒåºŠ | confidence | float | No | 0.0~1.0 | ||
å£æ€åºæ å ± | mouthPoints | object | No | |||
å£ã®äžå¿åº§æš(x) | mouthX | float | No | 0.0~1.0 | ||
å£ã®äžå¿åº§æš(y) | mouthY | float | No | 0.0~1.0 | ||
å£ã®é åå¹ (w) | mouthWidth | float | No | â»é åå¹
ãæäŸã§ããªãå Žåã¯åºçŸããªãã 0.0~1.0 |
||
å£ã®é åå¹ (h) | mouthHeight | float | No | â»é åå¹
ãæäŸã§ããªãå Žåã¯åºçŸããªãã 0.0~1.0 |
||
解æã®ä¿¡é ŒåºŠ | confidence | float | No | 0.0~1.0 | ||
ãŸã°ããæ€åºæ å ± | blinkResults | object | No | |||
ç®ã€ãã床å(å·Š) | leftEye | float | No | 0.0~1.0 | ||
ç®ã€ãã床å(å³) | rightEye | float | No | 0.0~1.0 | ||
解æã®ä¿¡é ŒåºŠ | confidence | float | No | 0.0~1.0 | ||
幎霢å€å®çµæ | ageResults | object | No | |||
幎霢 | age | integer | No | |||
解æã®ä¿¡é ŒåºŠ | confidence | float | No | 0.0~1.0 | ||
æ§å¥å€å®çµæ | genderResults | object | No | |||
æ§å¥ | gender | string | No | male : ç·æ§ female : å¥³æ§ |
||
解æã®ä¿¡é ŒåºŠ | confidence | float | No | 0.0~1.0 | ||
é¡ã®åãå€å®çµæ | faceDirectionResults | object | No | |||
å·Šå³æ¹åè§åºŠ | yaw | integer | No | -180~180[degree] | ||
äžäžæ¹åè§åºŠ | pitch | integer | No | -180~180[degree] | ||
é¡åŸãè§åºŠ | roll | integer | No | -180~180[degree] | ||
解æã®ä¿¡é ŒåºŠ | confidence | float | No | 0.0~1.0 | ||
ç®ã®åãå€å®çµæ | gazeResults | object | No | |||
å·Šå³è§åºŠ | gazeLR | integer | No | -90~90[degree] | ||
äžäžè§åºŠ | gateUD | integer | No | -90~90[degree] | ||
解æã®ä¿¡é ŒåºŠ | confidence | float | No | 0.0~1.0 | ||
è¡šæ å€å®çµæ | expressionResults | object | No | |||
å·Šå³è§åºŠ | expression | string | No | unknown : ç¡è¡šæ
smile : ç¬ã/åã³ surprise : é©ã mad : æã sad : æ²ãã¿ |
||
解æã®ä¿¡é ŒåºŠ | confidence | float | No | 0.0~1.0 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "faceDetects" : [ { "x" : 0.9515625, "y" : 0.9592592592592593, "width" : 0.03177083333333333, "height" : 0.05648148148148148, "confidence" : 0.619, "ageResults" : { "age" : "35", "confidence" : "0.82" }, "genderResults" : { "gender" : "male", "confidence" : "0.75" }, "expressionResults" : { "expression" : "surprise", "confidence" : "0.69" } } ] }
event
é¡ãæ€åºãããšãã®éç¥ã€ãã³ããéå§ããã
ã¹ããŒãããã€ã¹ã§ãµããŒãããŠããªããã©ã¡ãŒã¿ãããå Žåã«ã¯ã ãã®ãã©ã¡ãŒã¿ãçç¥ããã
ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|
serviceId | string | Yes | ãµãŒãã¹IDãååŸå¯Ÿè±¡ã¹ããŒãããã€ã¹ |
threshold | float | No | æ€åºãããå€ãçç¥æã¯ããã€ã¹åæå€ èšå®ã§ããå€ã®ç¯å²:0.0~1.0 |
minWidth | float | No | æ€åºæå°ãµã€ãº(w)ã minHeight < maxHeightãšããããšãçç¥æããã€ã¹åæå€ã èšå®ã§ããå€ã®ç¯å²:0.0~1.0 |
minHeight | float | No | æ€åºæå°ãµã€ãº(h)ã minHeight < maxHeightãšããããšãçç¥æã¯ããã€ã¹åæå€ èšå®ã§ããå€ã®ç¯å²:0.0~1.0 |
maxWidth | float | No | æ€åºæ倧ãµã€ãº(w)ã minWidth < maxWidthãšããããšãçç¥æã¯ããã€ã¹åæå€ èšå®ã§ããå€ã®ç¯å²:0.0~1.0 |
maxHeight | float | No | æ€åºæ倧ãµã€ãº(h)ã minHeight < maxHeightãšããããšãçç¥æã¯ããã€ã¹åæå€ã èšå®ã§ããå€ã®ç¯å²:0.0~1.0 |
eyeThreshold | float | No | ç®ã®åº§æšæ€åºãããå€ãçç¥æã¯ããã€ã¹åæå€ã èšå®ã§ããå€ã®ç¯å²:0.0~1.0 |
noseThreshold | float | No | 錻ã®åº§æšæ€åºãããå€ãçç¥æã¯ããã€ã¹åæå€ã èšå®ã§ããå€ã®ç¯å²:0.0~1.0 |
mouthThreshold | float | No | å£ã®åº§æšæ€åºãããå€ãçç¥æã¯ããã€ã¹åæå€ã èšå®ã§ããå€ã®ç¯å²:0.0~1.0 |
blinkThreshold | float | No | ç®ã€ããæ€åºãããå€ãçç¥æã¯ããã€ã¹åæå€ã èšå®ã§ããå€ã®ç¯å²:0.0~1.0 |
ageThreshold | float | No | 幎霢æšå®ãããå€ãçç¥æã¯ããã€ã¹åæå€ã èšå®ã§ããå€ã®ç¯å²:0.0~1.0 |
genderThreshold | float | No | æ§å¥æšå®ãããå€ãçç¥æã¯ããã€ã¹åæå€ã èšå®ã§ããå€ã®ç¯å²:0.0~1.0 |
faceDirectionThreshold | float | No | é¡åãæšå®ãããå€ãçç¥æã¯ããã€ã¹åæå€ã èšå®ã§ããå€ã®ç¯å²:0.0~1.0 |
gazeThreshold | float | No | èŠç·æšå®ãããå€ãçç¥æã¯ããã€ã¹åæå€ã èšå®ã§ããå€ã®ç¯å²:0.0~1.0 |
expressionThreshold | float | No | è¡šæ
æšå®ãããå€ãçç¥æã¯ããã€ã¹åæå€ã èšå®ã§ããå€ã®ç¯å²:0.0~1.0 |
interval | long | No | ããã€ã¹ãã©ã°ã€ã³ãã€ãã³ããéä¿¡ããééã |
options | array(string) | No | å©çšãããªãã·ã§ã³æ©èœãå©çšãããªãã·ã§ã³æ©èœãæå®ããã è€æ°æå®å¯èœãçç¥æã¯æå®ãªãã â»äœ¿çšã§ãããªãã·ã§ã³ã¯ããã€ã¹ãã©ã°ã€ã³ã«ãã£ãŠéãã äŸ) eye,nose, mouth,blink,age,gender,faceDirection,gaze,expression ãã«ã³ãåºåãã§æå®ããããšã§ã ããããã®æ€åºå€ãããå Žåã¯ã¬ã¹ãã³ã¹ã«å«ããããšãã§ããã ãã ããããã€ã¹ã«ãã£ãŠå¯Ÿå¿ããŠããªãå€ãããã |
è«çå | ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|---|
åŠççµæ | result | integer | Yes | 0:æ£åžžå¿ç 0以å€:ç°åžžå¿ç |
ã·ã¹ãã å | product | string | Yes | DeviceConnectã·ã¹ãã ã®ååã |
ã·ã¹ãã ããŒãžã§ã³ | version | string | Yes | DeviceConnectã·ã¹ãã ã®ããŒãžã§ã³åã |
眲å | hmac | string | No | ã¬ã¹ãã³ã¹ã«å¯Ÿãã眲åã ã¢ããªã±ãŒã·ã§ã³åŽããäºåã«HMACããŒãå ±æãããŠããå Žåã¯å¿ é ã |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
è«çå | ç©çå | ããŒã¿å | å¿ é | 説æ | ||
---|---|---|---|---|---|---|
ãµãŒãã¹ID | serviceId | string | Yes | ã€ãã³ããéä¿¡ãããµãŒãã¹ã®ID | ||
ãããã¡ã€ã«å | profile | string | Yes | ãããã¡ã€ã«åã | ||
ã€ã³ã¿ãŒãã§ãŒã¹å | interface | string | Yes | ã€ã³ã¿ãŒãã§ãŒã¹åã | ||
ã¢ããªãã¥ãŒãå | attribute | string | Yes | ã¢ããªãã¥ãŒãåã | ||
é¡æ€åºãªã¹ã | faceDetects | array(object) | Yes | æ€åºãããæ°ååºçŸããã | ||
æ€åºé åã®äžå¿Xåº§æš | x | float | Yes | 0.0~1.0 | ||
æ€åºé åã®äžå¿Yåº§æš | y | float | Yes | 0.0~1.0 | ||
æ€åºé åã®Xæ¹åã®å¹ | width | float | No | â»é åå¹
ãæäŸã§ããªãå Žåã¯åºçŸããªãã 0.0~1.0 |
||
æ€åºé åã®Yæ¹åã®å¹ | height | float | No | â»é åå¹
ãæäŸã§ããªãå Žåã¯åºçŸããªãã 0.0~1.0 |
||
解æã®ä¿¡é ŒåºŠ | confidence | float | Yes | 0.0~1.0 | ||
ç®æ€åºæ å ± | eyePoints | object | No | |||
å·Šç®ã®äžå¿åº§æš(x) | leftEyeX | float | No | 0.0~1.0 | ||
å·Šç®ã®äžå¿åº§æš(y) | leftEyeY | float | No | 0.0~1.0 | ||
å·Šç®ã®é åå¹ (w) | leftEyeWidth | float | No | â»é åå¹
ãæäŸã§ããªãå Žåã¯åºçŸããªãã 0.0~1.0 |
||
å·Šç®ã®é åå¹ (h) | leftEyeHeight | float | No | â»é åå¹
ãæäŸã§ããªãå Žåã¯åºçŸããªãã 0.0~1.0 |
||
å³ç®ã®äžå¿åº§æš(x) | rightEyeX | float | No | 0.0~1.0 | ||
å³ç®ã®äžå¿åº§æš(y) | rightEyeY | float | No | 0.0~1.0 | ||
å³ç®ã®é åå¹ (w) | rightEyeWidth | float | No | â»é åå¹
ãæäŸã§ããªãå Žåã¯åºçŸããªãã 0.0~1.0 |
||
å³ç®ã®é åå¹ (h) | rightEyeHeight | float | No | â»é åå¹
ãæäŸã§ããªãå Žåã¯åºçŸããªãã 0.0~1.0 |
||
解æã®ä¿¡é ŒåºŠ | confidence | float | No | 0.0~1.0 | ||
錻æ€åºæ å ± | nosePoints | object | No | |||
錻ã®äžå¿åº§æš(x) | noseX | float | No | 0.0~1.0 | ||
錻ã®äžå¿åº§æš(y) | noseY | float | No | 0.0~1.0 | ||
錻ã®é åå¹ (w) | noseWidth | float | No | â»é åå¹
ãæäŸã§ããªãå Žåã¯åºçŸããªãã 0.0~1.0 |
||
錻ã®é åå¹ (h) | noseHeight | float | No | â»é åå¹
ãæäŸã§ããªãå Žåã¯åºçŸããªãã 0.0~1.0 |
||
解æã®ä¿¡é ŒåºŠ | confidence | float | No | 0.0~1.0 | ||
å£æ€åºæ å ± | mouthPoints | object | No | |||
å£ã®äžå¿åº§æš(x) | mouthX | float | No | 0.0~1.0 | ||
å£ã®äžå¿åº§æš(y) | mouthY | float | No | 0.0~1.0 | ||
å£ã®é åå¹ (w) | mouthWidth | float | No | â»é åå¹
ãæäŸã§ããªãå Žåã¯åºçŸããªãã 0.0~1.0 |
||
å£ã®é åå¹ (h) | mouthHeight | float | No | â»é åå¹
ãæäŸã§ããªãå Žåã¯åºçŸããªãã 0.0~1.0 |
||
解æã®ä¿¡é ŒåºŠ | confidence | float | No | 0.0~1.0 | ||
ãŸã°ããæ€åºæ å ± | blinkResults | object | No | |||
ç®ã€ãã床å(å·Š) | leftEye | float | No | 0.0~1.0 | ||
ç®ã€ãã床å(å³) | rightEye | float | No | 0.0~1.0 | ||
解æã®ä¿¡é ŒåºŠ | confidence | float | No | 0.0~1.0 | ||
幎霢å€å®çµæ | ageResults | object | No | |||
幎霢 | age | integer | No | |||
解æã®ä¿¡é ŒåºŠ | confidence | float | No | 0.0~1.0 | ||
æ§å¥å€å®çµæ | genderResults | object | No | |||
æ§å¥ | gender | string | No | male : ç·æ§ female : å¥³æ§ |
||
解æã®ä¿¡é ŒåºŠ | confidence | float | No | 0.0~1.0 | ||
é¡ã®åãå€å®çµæ | faceDirectionResults | object | No | |||
å·Šå³æ¹åè§åºŠ | yaw | integer | No | -180~180[degree] | ||
äžäžæ¹åè§åºŠ | pitch | integer | No | -180~180[degree] | ||
é¡åŸãè§åºŠ | roll | integer | No | -180~180[degree] | ||
解æã®ä¿¡é ŒåºŠ | confidence | float | No | 0.0~1.0 | ||
ç®ã®åãå€å®çµæ | gazeResults | object | No | |||
å·Šå³è§åºŠ | gazeLR | integer | No | -90~90[degree] | ||
äžäžè§åºŠ | gateUD | integer | No | -90~90[degree] | ||
解æã®ä¿¡é ŒåºŠ | confidence | float | No | 0.0~1.0 | ||
è¡šæ å€å®çµæ | expressionResults | object | No | |||
å·Šå³è§åºŠ | expression | string | No | unknown : ç¡è¡šæ
smile : ç¬ã/åã³ surprise : é©ã mad : æã sad : æ²ãã¿ |
||
解æã®ä¿¡é ŒåºŠ | confidence | float | No | 0.0~1.0 |
{ "serviceId" : "Host.exampleId.localhost.deviceconnect.org", "profile" : "humandetection", "attribute" : "onfacedetection", "faceDetects" : [ { "x" : 0.9515625, "y" : 0.9592592592592593, "width" : 0.03177083333333333, "height" : 0.05648148148148148, "confidence" : 0.619, "ageResults" : { "age" : "35", "confidence" : "0.82" }, "genderResults" : { "gender" : "male", "confidence" : "0.75" }, "expressionResults" : { "expression" : "surprise", "confidence" : "0.69" } } ] }
event
é¡ãæ€åºãããšãã®éç¥ã€ãã³ããåæ¢ããã
ã¹ããŒãããã€ã¹ã§ãµããŒãããŠããªããã©ã¡ãŒã¿ãããå Žåã«ã¯ã ãã®ãã©ã¡ãŒã¿ãçç¥ããã
ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|
serviceId | string | Yes | ãµãŒãã¹IDãååŸå¯Ÿè±¡ã¹ããŒãããã€ã¹ |
è«çå | ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|---|
åŠççµæ | result | integer | Yes | 0:æ£åžžå¿ç 0以å€:ç°åžžå¿ç |
ã·ã¹ãã å | product | string | Yes | DeviceConnectã·ã¹ãã ã®ååã |
ã·ã¹ãã ããŒãžã§ã³ | version | string | Yes | DeviceConnectã·ã¹ãã ã®ããŒãžã§ã³åã |
眲å | hmac | string | No | ã¬ã¹ãã³ã¹ã«å¯Ÿãã眲åã ã¢ããªã±ãŒã·ã§ã³åŽããäºåã«HMACããŒãå ±æãããŠããå Žåã¯å¿ é ã |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
one-shot
æãæ€åºãããšãã®éç¥ã€ãã³ããååŸããã
ãã©ã°ã€ã³åŽã§ãã£ãã·ã¥ããŠããææ°ã®ã€ãã³ãã¡ãã»ãŒãžã1ã€ååŸããã
ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|
serviceId | string | Yes | ãµãŒãã¹IDãååŸå¯Ÿè±¡ã¹ããŒãããã€ã¹ |
threshold | float | No | æ€åºãããå€ãçç¥æã¯ããã€ã¹åæå€ èšå®ã§ããå€ã®ç¯å²:0.0~1.0 |
minWidth | float | No | æ€åºæå°ãµã€ãº(w)ã minHeight < maxHeightãšããããšãçç¥æããã€ã¹åæå€ã èšå®ã§ããå€ã®ç¯å²:0.0~1.0 |
minHeight | float | No | æ€åºæå°ãµã€ãº(h)ã minHeight < maxHeightãšããããšãçç¥æã¯ããã€ã¹åæå€ èšå®ã§ããå€ã®ç¯å²:0.0~1.0 |
maxWidth | float | No | æ€åºæ倧ãµã€ãº(w)ã minWidth < maxWidthãšããããšãçç¥æã¯ããã€ã¹åæå€ èšå®ã§ããå€ã®ç¯å²:0.0~1.0' |
maxHeight | float | No | æ€åºæ倧ãµã€ãº(h)ã minHeight < maxHeightãšããããšãçç¥æã¯ããã€ã¹åæå€ã èšå®ã§ããå€ã®ç¯å²:0.0~1.0 |
options | array(string) | No | å©çšãããªãã·ã§ã³æ©èœãå©çšãããªãã·ã§ã³æ©èœãæå®ãããè€æ°æå®å¯èœã çç¥æã¯æå®ãªãã â»äœ¿çšã§ãããªãã·ã§ã³ã¯ç¡ãã |
è«çå | ç©çå | ããŒã¿å | å¿ é | 説æ | |
---|---|---|---|---|---|
åŠççµæ | result | integer | Yes | 0:æ£åžžå¿ç 0以å€:ç°åžžå¿ç |
|
ã·ã¹ãã å | product | string | Yes | DeviceConnectã·ã¹ãã ã®ååã | |
ã·ã¹ãã ããŒãžã§ã³ | version | string | Yes | DeviceConnectã·ã¹ãã ã®ããŒãžã§ã³åã | |
眲å | hmac | string | No | ã¬ã¹ãã³ã¹ã«å¯Ÿãã眲åã ã¢ããªã±ãŒã·ã§ã³åŽããäºåã«HMACããŒãå ±æãããŠããå Žåã¯å¿ é ã |
|
ææ€åºãªã¹ã | handDetects | array(object) | Yes | æ€åºãããæ°ååºçŸããã | |
æ€åºé åã®äžå¿Xåº§æš | x | float | Yes | 0.0~1.0 | |
æ€åºé åã®äžå¿Yåº§æš | y | float | Yes | 0.0~1.0 | |
æ€åºé åã®Xæ¹åã®å¹ | width | float | No | â»é åå¹
ãæäŸã§ããªãå Žåã¯åºçŸããªãã 0.0~1.0 |
|
æ€åºé åã®Yæ¹åã®å¹ | height | float | No | â»é åå¹
ãæäŸã§ããªãå Žåã¯åºçŸããªãã 0.0~1.0 |
|
解æã®ä¿¡é ŒåºŠ | confidence | float | Yes | 0.0~1.0 |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0", "handDetects" : [ { "x" : 0.5114583333333333, "y" : 0.6018518518518519, "width" : 0.15833333333333333, "height" : 0.2814814814814815, "confidence" : 0.962 } ] }
event
æãæ€åºãããšãã®éç¥ã€ãã³ããéå§ããã
ã¹ããŒãããã€ã¹ã§ãµããŒãããŠããªããã©ã¡ãŒã¿ãããå Žåã«ã¯ã ãã®ãã©ã¡ãŒã¿ãçç¥ããã
ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|
serviceId | string | Yes | ãµãŒãã¹IDãååŸå¯Ÿè±¡ã¹ããŒãããã€ã¹ |
threshold | float | No | æ€åºãããå€ãçç¥æã¯ããã€ã¹åæå€ èšå®ã§ããå€ã®ç¯å²:0.0~1.0 |
minWidth | float | No | æ€åºæå°ãµã€ãº(w)ã minHeight < maxHeightãšããããšãçç¥æããã€ã¹åæå€ã èšå®ã§ããå€ã®ç¯å²:0.0~1.0 |
minHeight | float | No | æ€åºæå°ãµã€ãº(h)ã minHeight < maxHeightãšããããšãçç¥æã¯ããã€ã¹åæå€ èšå®ã§ããå€ã®ç¯å²:0.0~1.0 |
maxWidth | float | No | æ€åºæ倧ãµã€ãº(w)ã minWidth < maxWidthãšããããšãçç¥æã¯ããã€ã¹åæå€ èšå®ã§ããå€ã®ç¯å²:0.0~1.0 |
maxHeight | float | No | æ€åºæ倧ãµã€ãº(h)ã minHeight < maxHeightãšããããšãçç¥æã¯ããã€ã¹åæå€ã èšå®ã§ããå€ã®ç¯å²:0.0~1.0 |
interval | long | No | ããã€ã¹ãã©ã°ã€ã³ãã€ãã³ããéä¿¡ããééã |
options | array(string) | No | å©çšãããªãã·ã§ã³æ©èœãå©çšãããªãã·ã§ã³æ©èœãæå®ãããè€æ°æå®å¯èœã çç¥æã¯æå®ãªãã â»äœ¿çšã§ãããªãã·ã§ã³ã¯ç¡ãã |
è«çå | ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|---|
åŠççµæ | result | integer | Yes | 0:æ£åžžå¿ç 0以å€:ç°åžžå¿ç |
ã·ã¹ãã å | product | string | Yes | DeviceConnectã·ã¹ãã ã®ååã |
ã·ã¹ãã ããŒãžã§ã³ | version | string | Yes | DeviceConnectã·ã¹ãã ã®ããŒãžã§ã³åã |
眲å | hmac | string | No | ã¬ã¹ãã³ã¹ã«å¯Ÿãã眲åã ã¢ããªã±ãŒã·ã§ã³åŽããäºåã«HMACããŒãå ±æãããŠããå Žåã¯å¿ é ã |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }
è«çå | ç©çå | ããŒã¿å | å¿ é | 説æ | |
---|---|---|---|---|---|
ãµãŒãã¹ID | serviceId | string | Yes | ã€ãã³ããéä¿¡ãããµãŒãã¹ã®ID | |
ãããã¡ã€ã«å | profile | string | Yes | ãããã¡ã€ã«åã | |
ã€ã³ã¿ãŒãã§ãŒã¹å | interface | string | Yes | ã€ã³ã¿ãŒãã§ãŒã¹åã | |
ã¢ããªãã¥ãŒãå | attribute | string | Yes | ã¢ããªãã¥ãŒãåã | |
ææ€åºãªã¹ã | handDetects | array(object) | Yes | æ€åºãããæ°ååºçŸããã | |
æ€åºé åã®äžå¿Xåº§æš | x | float | Yes | 0.0~1.0 | |
æ€åºé åã®äžå¿Yåº§æš | y | float | Yes | 0.0~1.0 | |
æ€åºé åã®Xæ¹åã®å¹ | width | float | No | â»é åå¹
ãæäŸã§ããªãå Žåã¯åºçŸããªãã 0.0~1.0 |
|
æ€åºé åã®Yæ¹åã®å¹ | height | float | No | â»é åå¹
ãæäŸã§ããªãå Žåã¯åºçŸããªãã 0.0~1.0 |
|
解æã®ä¿¡é ŒåºŠ | confidence | float | Yes | 0.0~1.0 |
{ "serviceId" : "Host.exampleId.localhost.deviceconnect.org", "profile" : "humandetection", "attribute" : "onhanddetection", "handDetects" : [ { "x" : 0.5114583333333333, "y" : 0.6018518518518519, "width" : 0.15833333333333333, "height" : 0.2814814814814815, "confidence" : 0.962 } ] }
event
æãæ€åºãããšãã®éç¥ã€ãã³ããåæ¢ããã
ã¹ããŒãããã€ã¹ã§ãµããŒãããŠããªããã©ã¡ãŒã¿ãããå Žåã«ã¯ã ãã®ãã©ã¡ãŒã¿ãçç¥ããã
ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|
serviceId | string | Yes | ãµãŒãã¹IDãååŸå¯Ÿè±¡ã¹ããŒãããã€ã¹ |
è«çå | ç©çå | ããŒã¿å | å¿ é | 説æ |
---|---|---|---|---|
åŠççµæ | result | integer | Yes | 0:æ£åžžå¿ç 0以å€:ç°åžžå¿ç |
ã·ã¹ãã å | product | string | Yes | DeviceConnectã·ã¹ãã ã®ååã |
ã·ã¹ãã ããŒãžã§ã³ | version | string | Yes | DeviceConnectã·ã¹ãã ã®ããŒãžã§ã³åã |
眲å | hmac | string | No | ã¬ã¹ãã³ã¹ã«å¯Ÿãã眲åã ã¢ããªã±ãŒã·ã§ã³åŽããäºåã«HMACããŒãå ±æãããŠããå Žåã¯å¿ é ã |
{ "result" : 0, "product" : "Example System", "version" : "1.0.0" }