Baidu AI Cloud
中国站

百度智能云

Object Storage

Terror Recognition

Feature Description

Terror Recognition

Request Parameters

None

Return Parameters

Field Type Required? Description
result array(array(double)) Yes Terror confidence score
log_id uint64 Yes The request ID, which is a random and unique number.
result_coarse object[] Yes The coarse-grained score result
name string Yes The coarse-grained label, which contains two labels: normal and terror.
score float Yes The higher the confidence score of the corresponding label, the higher the confidence level is.
result_fine object[ ] Yes The fine-grained score result.
name string Yes Fine-grained label, which contains nine tags: normal, police force, blood, corpse, explosion fire, murder, riot, terrorist, and military weapon.
score float Yes The higher the confidence score of the corresponding label, the higher the confidence level is.

Return Example

{
    "errno": 0,
    "msg": "success",
    "data": {
        "result": 0.0082325544208288,
        "result_coarse": [
            {
                "name": "Normal",
                "score": 0.99176746606827
            },
            {
                "name": "Terror",
                "score": 0.0082325544208288
            }
        ],
        "result_fine": [
            {
                "name": "Normal",
                "score": 0.98908758163452
            },
            {
                "name": "Police force",
                "score": 0.0062405453063548
            },
            {
                "name": "Blood",
                "score": 0.0009653537417762
            },
            {
                "name": "Corpse",
                "score": 0.001054480439052
            },
            {
                "name": "Explosion fire",
                "score": 0.00011743687355192
            },
            {
                "name": "Murder",
                "score": 0.0011699661845341
            },
            {
                "name": "Riot",
                "score": 0.000021190358893364
            },
            {
                "name": "Terrorist",
                "score": 0.0010401027975604
            },
            {
                "name": "Military weapon",
                "score": 0.00030337597127073
            }
        ]
    }
}  
Previous
Public Figures Recognition
Next
Watermark QR Code Recognition