1.5.1 HTTP 人脸检测

优质
小牛编辑
131浏览
2023-12-01

请求URL

/api/v1/vision/face-analysis

请求方法

POST

Header

Content-Type application/json

body请求体

{
    "Image": {"Content": "base64 image string"}
}

返回结果

{
    "faceInfo": [{
        "facePos": {
            "faceX": 58,
            "faceY": 89,
            "faceH": 92,
            "faceW": 11,
            "eyeLeftX": 54,
            "eyeLeftY": 33,
            "eyeRightX": 52,
            "eyeRightY": 56,
            "noseX": 29,
            "noseY": 37,
            "mouthLeftX": 65,
            "mouthLeftY": 78,
            "mouthRightX": 23,
            "mouthRightY": 77
        },
        "ageInfo": {
            "age": 18,
            "confidence": 0.2956333
        },
        "genderInfo": {
            "gender": "Male",
            "confidence": "0.8856695"
        },
        "feature": "string"
    }]
}