开放能力
开发平台
行业应用
生态合作
开发与教学
资讯 社区 控制台
技术能力
语音技术
文字识别
人脸与人体
图像技术
语言与知识
视频技术
AR与VR
数据智能
场景方案
部署方案
行业应用
智能教育
智能医疗
智能零售
智能工业
企业服务
智能政务
信息服务
智能园区

请求说明

接口说明

长视频审核(接收结果)接口用于用户接收百度推送的审核结果,用户可自定义自己的接收地址

内容审核平台-长视频审核(接收结果)

接口地址:用户自己的接收地址,可自定义实现,但需要传入公网可访问的url地址
请求方式:POST
请求体格式化:content-type:application/json

请求参数

字段名 类型 是否必须 备注 样例
appId String Y 用户的appId
taskId String Y 用户任务taskId
taskDuration Long Y 审核的视频时长,单位s
extId String Y 用户测提交任务的唯一Id
result JSONObject Y 结论详情,参见审核结论详情数据
+conclusion String N 审核结果描述,可取值:合规、不合规、疑似
+conclusionType Int N 审核结果,可取值:1 合规,2 不合规,3 疑似, 4 审核失败
+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:色情识别、3:恶心图识别、4:广告检测、6:图像质量检测、7:用户图像黑名单、8:用户图像白名单、9:图文审核、10:用户头像审核、11:百度违禁词库、12:文本反作弊、13:自定义文本黑名单、14:自定义文本白名单、15:EasyDL自定义模型、21:违禁识别、24:直播场景审核
+++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=3时subType取值含义:
0:恶心图、1:性器官特写、2:脏器、3:疾病表症、4:密集恐惧症、5:腐烂食物、6:排泄物、7:恶心动物、8:人体血腥和尸体、9:动物血腥及尸体
当type=4时subType取值含义:0:水印、1:二维码、2:条形码、3:识别二维码中内容、4:识别条形码中内容、5:不过滤字幕、6:小程序码
当type=6时subType取值含义:
0:图像清晰度、1:图像美观度
当type=7时subType取值含义:
0:用户自定义图像黑名单
当type=8时subType取值含义:
0:用户自定义图像白名单
当type=11时subType取值含义:
0:百度默认违禁词库
当type=12时subType取值含义:
0:低质灌水、2:文本色情、4恶意推广、5:低俗辱骂、6:恶意推广-联系方式、7:恶意推广-软文推广、8:广告法审核
当type=13时subType取值含义:
0:自定义文本黑名单
当type=14时subType取值含义:
0:自定义文本白名单
当type=21时subType取值含义:
1:真人吸烟、2:卡通吸烟、3:毒品、4:真人饮酒、5:卡通饮酒、6:赌博、7:纹身
当type=24时subType取值含义:
0:卫生间场景、1:车内场景、2:卧室场景、3:无意义场景、4:普通场景
+++msg String N 不合规项描述信息
+++probability Float N 不合规项置信度
+++datasetName Float 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 命中自定义模型标签名称

请求参数示例

{
"taskId":"16412312312341",
"extId":"1234",
"appId":"250345708",
"result":{
        "conclusion":"不合规",
        "frames":[
            {
                "conclusion":"不合规",
                "frameTimeStamp":480,
                "frameUrl":"http://bj.bcebos.com/aip-web/81219/2021-08-12/162877275333721741/480.jpg?authorization=bce-auth-v1%2F5c28b2780c0d4df8a99aec39a07fdb79%2F2021-08-12T15%3A39%3A35Z%2F2592000%2F%2Fad06a942baa1c4e63907a0953b303ecf607b3da4c5944cb21f0dd66908d49c95",
                "data":[
                    {
                        "msg":"存在watermark不合规",
                        "conclusion":"不合规",
                        "probability":0.9168264,
                        "subType":0,
                        "conclusionType":2,
                        "type":4
                    }
                ],
                "conclusionType":2,
                "frameThumbnailUrl":"http://bj.bcebos.com/aip-web/81219/2021-08-12/162877275333721741/480.jpg?authorization=bce-auth-v1%2F5c28b2780c0d4df8a99aec39a07fdb79%2F2021-08-12T15%3A39%3A35Z%2F2592000%2F%2Fad06a942baa1c4e63907a0953b303ecf607b3da4c5944cb21f0dd66908d49c95"
            },
            {
                "conclusion":"疑似",
                "frameTimeStamp":120,
                "frameUrl":"http://bj.bcebos.com/aip-web/81219/2021-08-12/162877275333721741/120.jpg?authorization=bce-auth-v1%2F5c28b2780c0d4df8a99aec39a07fdb79%2F2021-08-12T15%3A39%3A25Z%2F2592000%2F%2Fcc9b9528d1c6f2db8010f17c29ae1a0d2221af32e6a90ef6f1e8b5d07a909197",
                "data":[
                    {
                        "msg":"疑似存在watermark不合规",
                        "conclusion":"疑似",
                        "probability":0.88397026,
                        "subType":0,
                        "conclusionType":3,
                        "type":4
                    }
                ],
                "conclusionType":3,
                "frameThumbnailUrl":"http://bj.bcebos.com/aip-web/81219/2021-08-12/162877275333721741/120.jpg?authorization=bce-auth-v1%2F5c28b2780c0d4df8a99aec39a07fdb79%2F2021-08-12T15%3A39%3A25Z%2F2592000%2F%2Fcc9b9528d1c6f2db8010f17c29ae1a0d2221af32e6a90ef6f1e8b5d07a909197"
            },
            {
                "conclusion":"疑似",
                "frameTimeStamp":150,
                "frameUrl":"http://bj.bcebos.com/aip-web/81219/2021-08-12/162877275333721741/150.jpg?authorization=bce-auth-v1%2F5c28b2780c0d4df8a99aec39a07fdb79%2F2021-08-12T15%3A39%3A25Z%2F2592000%2F%2F3baee8925f5f24059468fb6f8ee987d402408e4437ae0975a20f8b19f5857956",
                "data":[
                    {
                        "msg":"疑似存在watermark不合规",
                        "conclusion":"疑似",
                        "probability":0.85340554,
                        "subType":0,
                        "conclusionType":3,
                        "type":4
                    }
                ],
                "conclusionType":3,
                "frameThumbnailUrl":"http://bj.bcebos.com/aip-web/81219/2021-08-12/162877275333721741/150.jpg?authorization=bce-auth-v1%2F5c28b2780c0d4df8a99aec39a07fdb79%2F2021-08-12T15%3A39%3A25Z%2F2592000%2F%2F3baee8925f5f24059468fb6f8ee987d402408e4437ae0975a20f8b19f5857956"
            },
            {
                "conclusion":"疑似",
                "frameTimeStamp":180,
                "frameUrl":"http://bj.bcebos.com/aip-web/81219/2021-08-12/162877275333721741/180.jpg?authorization=bce-auth-v1%2F5c28b2780c0d4df8a99aec39a07fdb79%2F2021-08-12T15%3A39%3A25Z%2F2592000%2F%2F0331c417d8b721d4ee88b53f436295c891b531aaf801098d5ebde2205ce4bc3f",
                "data":[
                    {
                        "msg":"疑似存在watermark不合规",
                        "conclusion":"疑似",
                        "probability":0.85520506,
                        "subType":0,
                        "conclusionType":3,
                        "type":4
                    }
                ],
                "conclusionType":3,
                "frameThumbnailUrl":"http://bj.bcebos.com/aip-web/81219/2021-08-12/162877275333721741/180.jpg?authorization=bce-auth-v1%2F5c28b2780c0d4df8a99aec39a07fdb79%2F2021-08-12T15%3A39%3A25Z%2F2592000%2F%2F0331c417d8b721d4ee88b53f436295c891b531aaf801098d5ebde2205ce4bc3f"
            },
            {
                "conclusion":"疑似",
                "frameTimeStamp":210,
                "frameUrl":"http://bj.bcebos.com/aip-web/81219/2021-08-12/162877275333721741/210.jpg?authorization=bce-auth-v1%2F5c28b2780c0d4df8a99aec39a07fdb79%2F2021-08-12T15%3A39%3A25Z%2F2592000%2F%2F15c32196ee914a6996f2b329f71422c1823922cea6d95701f90095f99a2834fd",
                "data":[
                    {
                        "msg":"疑似存在watermark不合规",
                        "conclusion":"疑似",
                        "probability":0.89889395,
                        "subType":0,
                        "conclusionType":3,
                        "type":4
                    }
                ],
                "conclusionType":3,
                "frameThumbnailUrl":"http://bj.bcebos.com/aip-web/81219/2021-08-12/162877275333721741/210.jpg?authorization=bce-auth-v1%2F5c28b2780c0d4df8a99aec39a07fdb79%2F2021-08-12T15%3A39%3A25Z%2F2592000%2F%2F15c32196ee914a6996f2b329f71422c1823922cea6d95701f90095f99a2834fd"
            },
            {
                "conclusion":"疑似",
                "frameTimeStamp":240,
                "frameUrl":"http://bj.bcebos.com/aip-web/81219/2021-08-12/162877275333721741/240.jpg?authorization=bce-auth-v1%2F5c28b2780c0d4df8a99aec39a07fdb79%2F2021-08-12T15%3A39%3A25Z%2F2592000%2F%2Fcc708de7912d927dde56b365d3aecbe362ad47ca962bf77fa9a01a3e92e5ad8b",
                "data":[
                    {
                        "msg":"疑似存在watermark不合规",
                        "conclusion":"疑似",
                        "probability":0.8332106,
                        "subType":0,
                        "conclusionType":3,
                        "type":4
                    }
                ],
                "conclusionType":3,
                "frameThumbnailUrl":"http://bj.bcebos.com/aip-web/81219/2021-08-12/162877275333721741/240.jpg?authorization=bce-auth-v1%2F5c28b2780c0d4df8a99aec39a07fdb79%2F2021-08-12T15%3A39%3A25Z%2F2592000%2F%2Fcc708de7912d927dde56b365d3aecbe362ad47ca962bf77fa9a01a3e92e5ad8b"
            },
            {
                "conclusion":"疑似",
                "frameTimeStamp":360,
                "frameUrl":"http://bj.bcebos.com/aip-web/81219/2021-08-12/162877275333721741/360.jpg?authorization=bce-auth-v1%2F5c28b2780c0d4df8a99aec39a07fdb79%2F2021-08-12T15%3A39%3A25Z%2F2592000%2F%2Ffd9c7788c1da708c5dde025cb7db27547b855685e148295c3423776fc8c9a4aa",
                "data":[
                    {
                        "msg":"疑似存在watermark不合规",
                        "conclusion":"疑似",
                        "probability":0.81543106,
                        "subType":0,
                        "conclusionType":3,
                        "type":4
                    }
                ],
                "conclusionType":3,
                "frameThumbnailUrl":"http://bj.bcebos.com/aip-web/81219/2021-08-12/162877275333721741/360.jpg?authorization=bce-auth-v1%2F5c28b2780c0d4df8a99aec39a07fdb79%2F2021-08-12T15%3A39%3A25Z%2F2592000%2F%2Ffd9c7788c1da708c5dde025cb7db27547b855685e148295c3423776fc8c9a4aa"
            },
            {
                "conclusion":"疑似",
                "frameTimeStamp":300,
                "frameUrl":"http://bj.bcebos.com/aip-web/81219/2021-08-12/162877275333721741/300.jpg?authorization=bce-auth-v1%2F5c28b2780c0d4df8a99aec39a07fdb79%2F2021-08-12T15%3A39%3A25Z%2F2592000%2F%2F4b09619af986557f7a612470b04b4df659072117fbce995c38c87466483c9b71",
                "data":[
                    {
                        "msg":"疑似存在watermark不合规",
                        "conclusion":"疑似",
                        "probability":0.86002344,
                        "subType":0,
                        "conclusionType":3,
                        "type":4
                    }
                ],
                "conclusionType":3,
                "frameThumbnailUrl":"http://bj.bcebos.com/aip-web/81219/2021-08-12/162877275333721741/300.jpg?authorization=bce-auth-v1%2F5c28b2780c0d4df8a99aec39a07fdb79%2F2021-08-12T15%3A39%3A25Z%2F2592000%2F%2F4b09619af986557f7a612470b04b4df659072117fbce995c38c87466483c9b71"
            },
            {
                "conclusion":"疑似",
                "frameTimeStamp":330,
                "frameUrl":"http://bj.bcebos.com/aip-web/81219/2021-08-12/162877275333721741/330.jpg?authorization=bce-auth-v1%2F5c28b2780c0d4df8a99aec39a07fdb79%2F2021-08-12T15%3A39%3A25Z%2F2592000%2F%2F274e0e8d04c1ea62ef68e1f44593b71330f7783a9c769214f1aef16be4d7548f",
                "data":[
                    {
                        "msg":"疑似存在watermark不合规",
                        "conclusion":"疑似",
                        "probability":0.8592974,
                        "subType":0,
                        "conclusionType":3,
                        "type":4
                    }
                ],
                "conclusionType":3,
                "frameThumbnailUrl":"http://bj.bcebos.com/aip-web/81219/2021-08-12/162877275333721741/330.jpg?authorization=bce-auth-v1%2F5c28b2780c0d4df8a99aec39a07fdb79%2F2021-08-12T15%3A39%3A25Z%2F2592000%2F%2F274e0e8d04c1ea62ef68e1f44593b71330f7783a9c769214f1aef16be4d7548f"
            },
            {
                "conclusion":"疑似",
                "frameTimeStamp":510,
                "frameUrl":"http://bj.bcebos.com/aip-web/81219/2021-08-12/162877275333721741/510.jpg?authorization=bce-auth-v1%2F5c28b2780c0d4df8a99aec39a07fdb79%2F2021-08-12T15%3A39%3A35Z%2F2592000%2F%2Fc703deef16674dd2404217ccea19bc2df9a22833e8244d15e545d35ea285a651",
                "data":[
                    {
                        "msg":"疑似存在watermark不合规",
                        "conclusion":"疑似",
                        "probability":0.87063086,
                        "subType":0,
                        "conclusionType":3,
                        "type":4
                    }
                ],
                "conclusionType":3,
                "frameThumbnailUrl":"http://bj.bcebos.com/aip-web/81219/2021-08-12/162877275333721741/510.jpg?authorization=bce-auth-v1%2F5c28b2780c0d4df8a99aec39a07fdb79%2F2021-08-12T15%3A39%3A35Z%2F2592000%2F%2Fc703deef16674dd2404217ccea19bc2df9a22833e8244d15e545d35ea285a651"
            }
        ],
        "conclusionType":2
    }
}
上一篇
提交视频审核任务
下一篇
响应参数说明