Terror Recognition (Terror)
Updated at:2025-11-03
Function description
Violent terrorism recognition
Request parameters
None
Response parameters
| Field | Types | Required or not | Description |
|---|---|---|---|
| result | array(array(double)) | Yes | Confidence score for violent terrorism. |
| log_id | uint64 | Yes | Request identifier: a unique, randomly generated number. |
| result_coarse | object[] | Yes | Coarse-grained score result |
| name | string | Yes | Coarse-grained tags, including two tags: normal and violent terrorism |
| score | float | Yes | Confidence score of the corresponding tag. The higher score, the higher confidence. |
| result_fine | object[ ] | Yes | Fine-grained score result |
| name | string | Yes | Fine-grained tags, including 9 tags: normal, police force, bloody, corpse, explosion and fire, murder, riot, terrorists, and military weapons |
| score | float | Yes | Confidence score of the corresponding tag. The higher score, the higher confidence. |
Response example
Plain Text
1{
2 "errno": 0,
3 "msg": "success",
4 "data": {
5 "result": 0.0082325544208288,
6 "result_coarse": [
7 {
8 "name": "Normal",
9 "score": 0.99176746606827
10 },
11 {
12 "name": "Violent Terrorism",
13 "score": 0.0082325544208288
14 }
15 ],
16 "result_fine": [
17 {
18 "name": "Normal",
19 "score": 0.98908758163452
20 },
21 {
22 "name": "Police Force",
23 "score": 0.0062405453063548
24 },
25 {
26 "name": "Bloody",
27 "score": 0.0009653537417762
28 },
29 {
30 "name": "Corpse",
31 "score": 0.001054480439052
32 },
33 {
34 "name": "Explosion and Fire",
35 "score": 0.00011743687355192
36 },
37 {
38 "name": "Murder",
39 "score": 0.0011699661845341
40 },
41 {
42 "name": "Riot",
43 "score": 0.000021190358893364
44 },
45 {
46 "name": "Terrorist",
47 "score": 0.0010401027975604
48 },
49 {
50 "name": "Military Weapons",
51 "score": 0.00030337597127073
52 }
53 ]
54 }
55}
