内容审核平台

    响应参数说明

    *接口响应时间=用户传输/抓取视频耗时+模型处理耗时+返回结果耗时,其中模型处理耗时依据您具体勾选的维度多少略有波动

    参数名称 数据类型 是否必须 备注 样例
    log_id Long Y 调用唯一ID
    error_code uint64 N 服务调用错误码,失败才返回,成功不返回
    error_msg String N 服务调用提示信息,失败才返回,成功不返回
    conclusion String N 审核结果描述,可取值:合规、不合规、疑似
    conclusionType Int N 审核结果,可取值:1 合规,2 不合规,3 疑似, 4 审核失败
    isHitMd5 boole N 是否命中视频黑库MD5提示,true:命中 false:未命中
    msg String N 命中MD5提示
    frames JsonArray N 帧审核明细
    +frameTimeStamp Long N 帧时间戳
    +conclusion Long N 帧审核结果描述,可取值:合规、不合规、疑似
    +conclusionType Int N 帧审核结果,可取值:1 合规,2 不合规,3 疑似, 4 审核失败
    +frameUrl String N 帧url地址
    +frameThumbnailUrl String N 帧缩略图url地址
    +data JsonArray N 各维度明细审核结果
    ++error_code uint64 N 内层错误提示码,底层服务失败才返回,成功不返回
    ++error_msg string N 内层错误提示信息,底层服务失败才返回,成功不返回
    ++type uint64 N 审核主类型,0:百度官方违禁图库、1:色情识别、2:暴恐识别、3:恶心图识别、4:广告检测、5:政治敏感识别、6:图像质量检测、7:用户图像黑名单、8:用户图像白名单、9:图文审核、10:头像审核、11:百度官方违禁词库、12:文本反作弊、13:自定义文本黑名单、14:自定义文本白名单、15:EasyDL自定义模型、16:敏感旗帜标志识别、21:不良场景识别
    ++subType uint64 N 审核子类型,此字段需参照type主类型字段决定其含义:
    当type=0时subType取值含义:
    0:百度官方违禁图
    当type=1时subType取值含义:
    0:一般色情、1:卡通色情、2:SM、3:低俗、4:儿童裸露、5:艺术品色情、6:性玩具、7:男性性感、8:自然男性裸露、9:女性性感、10:卡通女性性感、11:特殊类、12:亲密行为、13:卡通亲密行为、14:孕肚裸露、15:臀部特写、16:脚部特写、17:裆部特写
    当type=2时subType取值含义:
    0:警察部队、1:血腥、2:尸体、3:爆炸火灾、4:杀人、5:暴乱、6:暴恐人物、7:军事武器、8:暴恐旗帜、9:血腥动物或动物尸体、10:车祸、11:枪械、12:弹药、13:刀具、14:武装人员、15、特殊服饰
    当type=3时subType取值含义:
    0:恶心图、1:性器官特写、2:脏器、3:疾病表症、4:密集恐惧症、5:腐烂食物、6:排泄物、7:恶心动物、8:人体血腥和尸体、9:动物血腥及尸体
    当type=4时subType取值含义:
    0:水印、1:二维码、2:条形码、6:小程序码
    当type=5时subType取值含义:
    0:政治敏感、1:公众人物、2:自定义敏感人物
    当type=6时subType取值含义:
    0:图像清晰度、1:图像美观度
    当type=7时subType取值含义:
    0:用户自定义图像黑名单
    当type=8时subType取值含义:
    0:用户自定义图像白名单
    当type=9时subType取值含义:
    0:图像中必须是真人脸、1:人脸必须为正脸、2:左右旋转角度、3:俯仰角度、4:歪头角度、5:人脸不能有遮挡、6:不能遮挡眼睛、7:不能遮挡鼻子、8:不能遮挡嘴、9:不能遮挡下巴、10:不能遮挡脸颊、11:人脸不能佩戴墨镜、12:人脸占比、13:人脸必须清晰
    当type=11时subType取值含义:
    0:百度官方默认违禁词库
    当type=12时subType取值含义:
    0:低质灌水、1:暴恐违禁、2:文本色情、3:政治敏感、4:恶意推广、5:低俗辱骂、6:广告法审核
    当type=13时subType取值含义:
    0:自定义文本黑名单
    当type=14时subType取值含义:
    0:自定义文本白名单
    当type=16时subType取值含义:
    0:中国国旗及类似图形、1:中国地图及类似图形、2:党旗、军旗、党徽及类似图形、3:警徽及类似图形、4:各类臂章、5:反动组织旗帜、徽章、标志
    当type=21时subType取值含义:
    1:真人吸烟、2:卡通吸烟、3:毒品、4:真人饮酒、5:卡通饮酒、6:赌博
    ++msg String N 不合规项描述信息
    ++probability Float N 不合规项置信度
    ++datasetName Float N 违规项目所属数据集名称
    ++stars Array N 敏感人物列表数组,只有敏感人物审核不通过才有
    +++name String N 敏感人物名称
    +++probability Float N 人脸相似度
    +++datasetName Float N 所属数据集名称
    ++codes Array N 二维码或者条形码识别结果
    ++hits Array N 命中信息
    +++words Array N 命中关键词
    +++modelName String N 命中自定义模型名称
    +++score Float N 命中自定义模型置信度
    +++modelId Array N 命中自定义模型ID
    +++label String N 命中自定义模型标签名称
    conclusionTypeGroupInfos JSON N 审核结论汇总
    +msg String N 一级违规类型描述信息
    +subTypeInfoList List N 二级违规列表。timestamp:帧时间戳;subType:二级违规类型描述
    +typeInfo json N type:一级违规类型描述

    返回示例:

    {
    	"log_id": 15832318739570011,
    	"conclusionType": 2,
    	"conclusion": "不合规",
    	"isHitMd5": false,
    	"msg": "未命中视频黑库",
    	"frames": [{
    		"conclusionType": 2,
    		"conclusion": "不合规",
    		"frameTimeStamp": 0,
    		"frameUrl": "http://bj.bcebos.com/v1/aip-web/2877d59d-414c-4b4f-9b99-9a125b6b2055?authorization=bce-auth-v1%2Ff86a2044998643b5abc89b59158bad6d%2F2020-03-03T10%3A37%3A56Z%2F-1%2F%2F8801a8dc24914caf2ea3d1c360d24002ccbbffb99c3f74d35a1257d07ea15529",
    		"frameThumbnailUrl": "http://bj.bcebos.com/v1/aip-web/84e15149-2f91-4033-bff5-b7c6078107ed?authorization=bce-auth-v1%2Ff86a2044998643b5abc89b59158bad6d%2F2020-03-03T10%3A37%3A56Z%2F-1%2F%2Fa90ef9833579b3503863aea51a47e40ab2cd269a9354d8b0f4730c44803170f5",
    		"data": [{
    			"conclusionType": 2,
    			"conclusion": "不合规",
    			"type": 5,
    			"subType": 1,
    			"msg": "存在公众人物不合规",
    			"stars": [{
    				"probability": 0.96015228271484,
    				"name": "圆圆"
    			}]
    		}, {
    			"conclusionType": 2,
    			"conclusion": "不合规",
    			"probability": 0.99330544,
    			"type": 4,
    			"subType": 0,
    			"msg": "存在watermark不合规"
    		}, {
    			"conclusionType": 2,
    			"conclusion": "不合规",
    			"type": 13,
    			"subType": 0,
    			"msg": "存在自定义文本黑名单不合规",
    			"hits": [{
    				"datasetName": "#################111",
    				"words": ["好看视频", "好看视频"]
    			}]
    		}]
    	}, {
    		"conclusionType": 2,
    		"conclusion": "不合规",
    		"frameTimeStamp": 3033,
    		"frameUrl": "http://bj.bcebos.com/v1/aip-web/e4bd6b04-59f5-40c6-b83b-fb426d87e714?authorization=bce-auth-v1%2Ff86a2044998643b5abc89b59158bad6d%2F2020-03-03T10%3A37%3A56Z%2F-1%2F%2F9ebb1ee1ba7d5fa864d2ad6e9a76b28ea07586152815cecba4a44597bee332af",
    		"frameThumbnailUrl": "http://bj.bcebos.com/v1/aip-web/801bf227-3ff6-47bc-9759-5e920580d5f1?authorization=bce-auth-v1%2Ff86a2044998643b5abc89b59158bad6d%2F2020-03-03T10%3A37%3A56Z%2F-1%2F%2F212653b237895ac5a8f6f08d689e975c4a53ca5d4ebb0cfec01fafa88dcdd0bf",
    		"data": [{
    			"conclusionType": 2,
    			"conclusion": "不合规",
    			"type": 4,
    			"subType": 0,
    			"probability": 0.99816656,
    			"msg": "存在watermark不合规"
    		}, {
    			"conclusionType": 2,
    			"conclusion": "不合规",
    			"type": 13,
    			"subType": 0,
    			"msg": "存在自定义文本黑名单不合规",
    			"hits": [{
    				"datasetName": "#################111",
    				"words": ["好看视频"]
    			}]
    		}]
    	}, {
    		"conclusionType": 2,
    		"conclusion": "不合规",
    		"frameTimeStamp": 6033,
    		"frameUrl": "http://bj.bcebos.com/v1/aip-web/b239a644-6fa2-40a1-8a59-f7d0d15918a9?authorization=bce-auth-v1%2Ff86a2044998643b5abc89b59158bad6d%2F2020-03-03T10%3A37%3A56Z%2F-1%2F%2F4a923722349243c3332ac274338d89d7f8a687ed0fa60e8acb982a5744d18774",
    		"frameThumbnailUrl": "http://bj.bcebos.com/v1/aip-web/b063f42f-340d-4275-b59a-21e2a51c254c?authorization=bce-auth-v1%2Ff86a2044998643b5abc89b59158bad6d%2F2020-03-03T10%3A37%3A56Z%2F-1%2F%2F7a8e81ed06e09b91e92704d0a4654eccfd6a4261408322f428c255f37ab4c6a4",
    		"data": [{
    			"conclusionType": 2,
    			"conclusion": "不合规",
    			"type": 5,
    			"subType": 1,
    			"msg": "存在公众人物不合规",
    			"stars": [{
    				"probability": 0.91569610595703,
    				"name": "圆圆"
    			}]
    		}, {
    			"conclusionType": 2,
    			"conclusion": "不合规",
    			"probability": 0.9982729,
    			"type": 4,
    			"subType": 0,
    			"msg": "存在watermark不合规"
    		}, {
    			"conclusionType": 2,
    			"conclusion": "不合规",
    			"type": 13,
    			"subType": 0,
    			"msg": "存在自定义文本黑名单不合规",
    			"hits": [{
    				"datasetName": "#################111",
    				"words": ["好看视频", "好看视频"]
    			}]
    		}]
    	}, {
    		"conclusionType": 2,
    		"conclusion": "不合规",
    		"frameTimeStamp": 9033,
    		"frameUrl": "http://bj.bcebos.com/v1/aip-web/65d7cc3d-30db-48e2-8bd6-403377b79b7f?authorization=bce-auth-v1%2Ff86a2044998643b5abc89b59158bad6d%2F2020-03-03T10%3A37%3A56Z%2F-1%2F%2Fef8c29c559b0a4a903587cc9cadde5580f1e92b2934ed49353c0c6eaf085a126",
    		"frameThumbnailUrl": "http://bj.bcebos.com/v1/aip-web/8ae73692-5ec6-4217-be91-2fdd706163e1?authorization=bce-auth-v1%2Ff86a2044998643b5abc89b59158bad6d%2F2020-03-03T10%3A37%3A56Z%2F-1%2F%2F774b05e67fc5938af9bc0add229e3dfa738738ca5bcfd1754d12f59856a50757",
    		"data": [{
    			"conclusionType": 2,
    			"conclusion": "不合规",
    			"type": 5,
    			"subType": 1,
    			"msg": "存在公众人物不合规",
    			"stars": [{
    				"probability": 0.90749565124512,
    				"name": "圆圆"
    			}]
    		}, {
    			"conclusionType": 2,
    			"conclusion": "不合规",
    			"type": 4,
    			"subType": 0,
    			"probability": 0.9990488,
    			"msg": "存在watermark不合规"
    		}, {
    
    			"conclusionType": 2,
    			"conclusion": "不合规",
    			"type": 13,
    			"subType": 0,
    			"msg": "存在自定义文本黑名单不合规",
    			"hits": [{
    				"datasetName": "#################111",
    				"words": ["好看视频", "好看视频"]
    			}]
    		}]
    	}, {
    		"conclusionType": 2,
    		"conclusion": "不合规",
    		"frameTimeStamp": 12033,
    		"frameUrl": "http://bj.bcebos.com/v1/aip-web/70bbd265-aa8d-47dd-ad3e-f221eacf4638?authorization=bce-auth-v1%2Ff86a2044998643b5abc89b59158bad6d%2F2020-03-03T10%3A37%3A56Z%2F-1%2F%2F7edc87b8c40c7cf05d27225f771a778849bc2a36f4c0275bda4245b6620ee2ce",
    		"frameThumbnailUrl": "http://bj.bcebos.com/v1/aip-web/d6853b59-4e32-4d2b-92fe-78a8deca9a42?authorization=bce-auth-v1%2Ff86a2044998643b5abc89b59158bad6d%2F2020-03-03T10%3A37%3A56Z%2F-1%2F%2Fac65249d7009c584edba4235508c7a8a99c36e4037829bfad8612a3eeeffd000",
    		"data": [{
    			"conclusionType": 2,
    			"conclusion": "不合规",
    			"probability": 0.9984498,
    			"type": 4,
    			"subType": 0,
    			"msg": "存在watermark不合规"
    		}, {
    			"conclusionType": 2,
    			"conclusion": "不合规",
    			"type": 13,
    			"subType": 0,
    			"msg": "存在自定义文本黑名单不合规",
    			"hits": [{
    				"datasetName": "#################111",
    				"words": ["好看视频", "好看视频"]
    			}]
    		}]
    	}, {
    		"conclusionType": 2,
    		"conclusion": "不合规",
    		"frameTimeStamp": 18033,
    		"frameThumbnailUrl": "http://bj.bcebos.com/v1/aip-web/b23b8992-8d13-43d3-b1d6-02fcb4b03202?authorization=bce-auth-v1%2Ff86a2044998643b5abc89b59158bad6d%2F2020-03-03T10%3A37%3A56Z%2F-1%2F%2Fb503ac106e521e4bf1cc699595ee9c6115b96b18bf91e138a6fd33e40034e1a9",
    		"frameUrl": "http://bj.bcebos.com/v1/aip-web/272de021-d2b2-4abd-a9cb-c1c17b2955d0?authorization=bce-auth-v1%2Ff86a2044998643b5abc89b59158bad6d%2F2020-03-03T10%3A37%3A56Z%2F-1%2F%2F9f778dce855fca47be17c65ca0b3d9fcdac2c0e43b2bdeb4e114806c94c2fd07",
    		"data": [{
    			"conclusionType": 2,
    			"conclusion": "不合规",
    			"probability": 0.988422,
    			"type": 4,
    			"subType": 0,
    			"msg": "存在watermark不合规"
    		}, {
    			"conclusionType": 2,
    			"conclusion": "不合规",
    			"type": 13,
    			"subType": 0,
    			"msg": "存在自定义文本黑名单不合规",
    			"hits": [{
    				"datasetName": "#################111",
    				"words": ["好看视频", "好看视频", "好看视频", "好看视频"]
    			}]
    		}]
    
    	}],
    	"conclusionTypeGroupInfos": [{
    		"msg": "存在watermark不合规",
    		"typeInfo": {
    			"type": "广告检测"
    		},
    		"subTypeInfoList": [{
    			"subType": "watermark",
    			"timestamp": 0
    		}, {
    			"subType": "watermark",
    			"timestamp": 3033
    		}, {
    			"subType": "watermark",
    			"timestamp": 6033
    		}, {
    			"subType": "watermark",
    			"timestamp": 9033
    		}, {
    			"subType": "watermark",
    			"timestamp": 12033
    		}, {
    			"subType": "watermark",
    			"timestamp": 18033
    		}]
    	}, {
    		"msg": "存在公众人物不合规",
    		"typeInfo": {
    			"type": "政治敏感识别"
    		},
    		"subTypeInfoList": [{
    			"subType": "公众人物",
    			"timestamp": 0
    		}, {
    			"subType": "公众人物",
    			"timestamp": 6033
    		}, {
    			"subType": "公众人物",
    			"timestamp": 9033
    		}]
    	}, {
    		"msg": "存在自定义文本黑名单不合规",
    		"typeInfo": {
    			"type": "自定义文本黑名单"
    		},
    		"subTypeInfoList": [{
    			"subType": "自定义文本黑名单",
    			"timestamp": 0
    		}, {
    			"subType": "自定义文本黑名单",
    			"timestamp": 3033
    		}, {
    			"subType": "自定义文本黑名单",
    			"timestamp": 6033
    		}, {
    			"subType": "自定义文本黑名单",
    			"timestamp": 9033
    		}, {
    			"subType": "自定义文本黑名单",
    			"timestamp": 12033
    		}, {
    			"subType": "自定义文本黑名单",
    			"timestamp": 18033
    		}]
    	}]
    }

    如果您对文档内容有任何疑问,可以通过以下几种方式联系我们:

    上一篇
    请求说明
    下一篇
    错误码