You need to enable JavaScript to run this app.
导航
接口5:人脸图片检测
最近更新时间:2024.08.23 10:23:54首次发布时间:2024.08.23 10:23:54

描述

查询人脸图片是否符合AIGC合成要求

Action

  • CheckFaceImageQuality

入参

字段类型是否必填描述
ScenicSpotIdstring景区ID
FaceContentstring人脸图片经过base64编码后字符串

出参

无,根据ResponseMetadata.Error.Code判断人脸是否符合要求

示例

人脸图片合格
{
    "ResponseMetadata": {
        "RequestId": "5bfc9ca7-*************-6ebd922a8564",
        "Action": "SubmitTemplateTaskAsync",
        "Version": "2022-11-08",
        "Service": "vlog",
        "Region": "cn-north-1"
    }
}
人脸图片不合格
{
    "ResponseMetadata": {
        "RequestId": "5bfc9ca7-4d01-43e0-801e-6ebd922a8564",
        "Action": "SubmitTemplateTaskAsync",
        "Version": "2022-11-08",
        "Service": "vlog",
        "Region": "cn-north-1",
        "Error": {
            "Code": "FailOperation.ImageQualityInvalid",
            "Message": "图片质量校验异常,请重新上传"
        }
    }
}
系统内部错误
{
    "ResponseMetadata": {
        "RequestId": "5bfc9ca7-4d01-43e0-801e-6ebd922a8564",
        "Action": "SubmitTemplateTaskAsync",
        "Version": "2022-11-08",
        "Service": "vlog",
        "Region": "cn-north-1",
        "Error": {
            "Code": "InternalError",
            "Message": "系统内部错误"
        }
    }
}