Skip to content

Commit 228e66a

Browse files
Merge pull request #11 from TakayukiHoshi1984/modify_hvc_face_detection
HumanDetectionのFaceDetectionの説明修正
2 parents fdd16b4 + cfb1f2b commit 228e66a

1 file changed

Lines changed: 43 additions & 3 deletions

File tree

api/humanDetection.json

Lines changed: 43 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,7 @@
787787
},
788788
{
789789
"name": "options",
790-
"description": "利用するオプション機能。利用するオプション機能を指定する。複数指定可能。省略時は指定なし。<br>※使用できるオプションは無し",
790+
"description": "利用するオプション機能。利用するオプション機能を指定する。複数指定可能。省略時は指定なし。<br>※使用できるオプションはデバイスプラグインによって違う。<br>例)eye, nose, mouth, blink,age,gender,faceDirection,gaze,expressionをカンマ区切りで指定することで、それぞれの検出値がある場合はレスポンスに含めることができる。ただし、デバイスによって対応していない値がある",
791791
"in": "query",
792792
"required": false,
793793
"type": "array",
@@ -809,6 +809,11 @@
809809
"version": "1.0.0",
810810
"faceDetects": [
811811
{
812+
"x": 0.9515625,
813+
"y": 0.9592592592592593,
814+
"width": 0.03177083333333333,
815+
"height": 0.05648148148148148,
816+
"confidence": 0.619,
812817
"ageResults":{
813818
"age":"35",
814819
"confidence":"0.82"
@@ -978,7 +983,7 @@
978983
},
979984
{
980985
"name": "options",
981-
"description": "利用するオプション機能。利用するオプション機能を指定する。複数指定可能。省略時は指定なし。<br>※使用できるオプションは無し",
986+
"description": "利用するオプション機能。利用するオプション機能を指定する。複数指定可能。省略時は指定なし。<br>※使用できるオプションはデバイスプラグインによって違う。<br>例)eye, nose, mouth, blink,age,gender,faceDirection,gaze,expressionをカンマ区切りで指定することで、それぞれの検出値がある場合はレスポンスに含めることができる。ただし、デバイスによって対応していない値がある",
982987
"in": "formData",
983988
"required": false,
984989
"type": "array",
@@ -1013,6 +1018,11 @@
10131018
"attribute": "onfacedetection",
10141019
"faceDetects": [
10151020
{
1021+
"x": 0.9515625,
1022+
"y": 0.9592592592592593,
1023+
"width": 0.03177083333333333,
1024+
"height": 0.05648148148148148,
1025+
"confidence": 0.619,
10161026
"ageResults":{
10171027
"age":"35",
10181028
"confidence":"0.82"
@@ -1283,7 +1293,37 @@
12831293
"description": "検出された数分出現する。",
12841294
"items": {
12851295
"type": "object",
1296+
"required": [
1297+
"x",
1298+
"y",
1299+
"confidence"
1300+
],
12861301
"properties": {
1302+
"x": {
1303+
"type": "number",
1304+
"title": "検出領域の中心X座標",
1305+
"description": "0.0~1.0"
1306+
},
1307+
"y": {
1308+
"type": "number",
1309+
"title": "検出領域の中心Y座標",
1310+
"description": "0.0~1.0"
1311+
},
1312+
"width": {
1313+
"type": "number",
1314+
"title": "検出領域のX方向の幅",
1315+
"description": "※領域幅が提供できない場合は出現しない。<br>0.0~1.0"
1316+
},
1317+
"height": {
1318+
"type": "number",
1319+
"title": "検出領域のY方向の幅",
1320+
"description": "※領域幅が提供できない場合は出現しない。<br>0.0~1.0"
1321+
},
1322+
"confidence": {
1323+
"type": "number",
1324+
"title": "解析の信頼度",
1325+
"description": "0.0~1.0"
1326+
},
12871327
"eyePoints": {
12881328
"type": "object",
12891329
"title": "目検出情報",
@@ -1602,4 +1642,4 @@
16021642
}
16031643
}
16041644
}
1605-
}
1645+
}

0 commit comments

Comments
 (0)