https://recognition.image.myqcloud.com/face/detect
注意:
POST /face/detect HTTP/1.1
Authorization: FCHXdPTEwMDAwMzc5Jms9QUtJRGVRZDBrRU1yM2J4ZjhRckJi==
Host: recognition.image.myqcloud.com
Content-Length: 123
Content-Type: application/json
{
"appid":"123456",
"mode":1,
"url":"http://test-123456.image.myqcloud.com/test.jpg"
}
POST /face/detect HTTP/1.1
Authorization: FCHXdPTEwMDAwMzc5Jms9QUtJRGVRZDBrRU1yM2J4ZjhRckJi==
Host: recognition.image.myqcloud.com
Content-Length: 460
Content-Type: multipart/form-data;boundary=--------------acebdf13572468
----------------acebdf13572468
Content-Disposition: form-data; name="appid";
123456
----------------acebdf13572468
Content-Disposition: form-data; name="mode";
1
----------------acebdf13572468
Content-Disposition: form-data; name="image"; filename="test.jpg"
Content-Type: image/jpeg
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
----------------acebdf13572468--
HTTP/1.1 200 OK
Connection: keep-alive
Content-Length: 313
Content-Type: application/json
{
"data":{
"session_id": "",
"image_height": 200,
"image_width": 200,
"face": [{
"face_id": "1005338790489817087",
"x": 44,
"y": 33,
"height": 64.0,
"width": 64.0,
"pitch": 5,
"roll": 0,
"yaw": 6,
"age": 37,
"gender": 99,
"glass": true,
"expression": 6
"beauty": 80
}]
},
"code":0,
"message":"OK"
}