暴恐识别(terror)
更新时间:2020-07-09
功能描述
暴恐识别
请求参数
无
返回参数
字段 | 类型 | 是否必须 | 说明 |
---|---|---|---|
result | array(array(double)) | 是 | 暴恐置信度得分。 |
log_id | uint64 | 是 | 请求标识码,随机数,唯一。 |
result_coarse | object[] | 是 | 粗粒度得分结果 |
name | string | 是 | 粗粒度标签,包含两个标签:正常、暴恐 |
score | float | 是 | 对应标签的置信度得分,越高可信度越高 |
result_fine | object[ ] | 是 | 细粒度得分结果 |
name | string | 是 | 细粒度标签,包含9个标签:正常、警察部队、血腥、尸体、爆炸火灾、杀人、暴乱、暴恐人物、军事武器 |
score | float | 是 | 对应标签的置信度得分,越高可信度越高 |
返回示例
Plain Text
1{
2 "errno": 0,
3 "msg": "success",
4 "data": {
5 "result": 0.0082325544208288,
6 "result_coarse": [
7 {
8 "name": "正常",
9 "score": 0.99176746606827
10 },
11 {
12 "name": "暴恐",
13 "score": 0.0082325544208288
14 }
15 ],
16 "result_fine": [
17 {
18 "name": "正常",
19 "score": 0.98908758163452
20 },
21 {
22 "name": "警察部队",
23 "score": 0.0062405453063548
24 },
25 {
26 "name": "血腥",
27 "score": 0.0009653537417762
28 },
29 {
30 "name": "尸体",
31 "score": 0.001054480439052
32 },
33 {
34 "name": "爆炸火灾",
35 "score": 0.00011743687355192
36 },
37 {
38 "name": "杀人",
39 "score": 0.0011699661845341
40 },
41 {
42 "name": "暴乱",
43 "score": 0.000021190358893364
44 },
45 {
46 "name": "暴恐人物",
47 "score": 0.0010401027975604
48 },
49 {
50 "name": "军事武器",
51 "score": 0.00030337597127073
52 }
53 ]
54 }
55}