Detect face.
POST/ai/detectface
Detect face from given image.
Request
Header Parameters
ipaas string
- application/json
Bodyrequired
imageUrlstringrequired
Image for face detection.
Responses
- 200
- 400
Success
- application/json
- Schema
- Example (auto)
Schema
- Array [
- ]
totalFacesnumberrequired
facesPosition object[]required
leftnumber
topnumber
widthnumber
heightnumber
{
"totalFaces": 0,
"facesPosition": [
{
"left": 0,
"top": 0,
"width": 0,
"height": 0
}
]
}
Bad Request
- application/json
- Schema
- Example (auto)
Schema
statusnumber
errorMessagestring
{
"status": 0,
"errorMessage": "string"
}