GET
/
api
/
classification_video
/
{hash}
curl --request GET \
  --url https://backend.identifai.net/api/classification_video/{hash} \
  --header 'X-Api-Key: <api-key>'
{
  "hash": "ee9ac46c6eb0e7bcce54c4167a168cefe6f92feb4fb282687fbbbcf9dd37ba58",
  "name": "video.mp4",
  "results": {
    "images": [
      [
        {
          "model": "V011",
          "elapsed_time": 0.298905611038208,
          "classification": [
            {
              "label": "artificial",
              "score": 0.9971989393234252
            },
            {
              "label": "human",
              "score": 0.0028010292444378138
            }
          ]
        },
        {
          "model": "V01",
          "elapsed_time": 0.42429351806640625,
          "classification": [
            {
              "label": "artificial",
              "score": 0.9912893772125244
            },
            {
              "label": "human",
              "score": 0.00871063582599163
            }
          ]
        },
        {
          "model": "brokenwand2",
          "elapsed_time": 2.044203519821167,
          "classification": [
            {
              "label": "artificial",
              "score": 0.28340333700180054
            },
            {
              "label": "human",
              "score": 0.7165966629981995
            }
          ]
        }
      ],
      [
        {
          "model": "V011",
          "elapsed_time": 0.6421136856079102,
          "classification": [
            {
              "label": "artificial",
              "score": 0.9897212386131288
            },
            {
              "label": "human",
              "score": 0.010278819128870964
            }
          ]
        },
        {
          "model": "V01",
          "elapsed_time": 0.300570011138916,
          "classification": [
            {
              "label": "artificial",
              "score": 0.978436291217804
            },
            {
              "label": "human",
              "score": 0.021563712507486343
            }
          ]
        },
        {
          "model": "brokenwand2",
          "elapsed_time": 1.2864701747894287,
          "classification": [
            {
              "label": "artificial",
              "score": 0.309308260679245
            },
            {
              "label": "human",
              "score": 0.690691739320755
            }
          ]
        }
      ],
      [
        {
          "model": "V011",
          "elapsed_time": 0.5433242321014404,
          "classification": [
            {
              "label": "artificial",
              "score": 0.9971287846565248
            },
            {
              "label": "human",
              "score": 0.002871240023523569
            }
          ]
        },
        {
          "model": "V01",
          "elapsed_time": 0.5014364719390869,
          "classification": [
            {
              "label": "artificial",
              "score": 0.9842044711112976
            },
            {
              "label": "human",
              "score": 0.015795564278960228
            }
          ]
        },
        {
          "model": "brokenwand2",
          "elapsed_time": 2.0058579444885254,
          "classification": [
            {
              "label": "artificial",
              "score": 0.2019975483417511
            },
            {
              "label": "human",
              "score": 0.7980024516582489
            }
          ]
        }
      ],
      [
        {
          "model": "V011",
          "elapsed_time": 0.23569488525390625,
          "classification": [
            {
              "label": "artificial",
              "score": 0.9974629878997804
            },
            {
              "label": "human",
              "score": 0.0025370449293404818
            }
          ]
        },
        {
          "model": "V01",
          "elapsed_time": 0.3069732189178467,
          "classification": [
            {
              "label": "artificial",
              "score": 0.9899019002914428
            },
            {
              "label": "human",
              "score": 0.01009807176887989
            }
          ]
        },
        {
          "model": "brokenwand2",
          "elapsed_time": 2.1493258476257324,
          "classification": [
            {
              "label": "artificial",
              "score": 0.11430399119853972
            },
            {
              "label": "human",
              "score": 0.8856960088014603
            }
          ]
        }
      ],
      [
        {
          "model": "V011",
          "elapsed_time": 0.568305253982544,
          "classification": [
            {
              "label": "artificial",
              "score": 0.9976150989532472
            },
            {
              "label": "human",
              "score": 0.0023849199060350657
            }
          ]
        },
        {
          "model": "V01",
          "elapsed_time": 0.5242340564727783,
          "classification": [
            {
              "label": "artificial",
              "score": 0.9942552447319032
            },
            {
              "label": "human",
              "score": 0.005744705908000469
            }
          ]
        },
        {
          "model": "brokenwand2",
          "elapsed_time": 1.312359094619751,
          "classification": [
            {
              "label": "artificial",
              "score": 0.33324843645095825
            },
            {
              "label": "human",
              "score": 0.6667515635490417
            }
          ]
        }
      ]
    ],
    "pre_process": 1185.37,
    "std_deviations": {
      "V01": 0.005633900655308306,
      "brokenwand2": 0.08033582065383414,
      "V011": 0.003057153072553004
    },
    "classification_matrix": {
      "V01": {
        "confidence": 0.9876174569129944,
        "classification": "artificial"
      },
      "brokenwand2": {
        "confidence": 0.751547685265541,
        "classification": "human"
      },
      "V011": {
        "confidence": 0.9958254098892212,
        "classification": "artificial"
      }
    }
  },
  "verdicts": [
    {
      "models": [
        "brokenwand2"
      ],
      "heuristic": "Majority",
      "confidence": 0.751547685265541,
      "classification": "human"
    },
    {
      "models": [
        "brokenwand2"
      ],
      "heuristic": "Average",
      "confidence": 0.751547685265541,
      "classification": "human"
    },
    {
      "models": [
        "brokenwand2"
      ],
      "heuristic": "AverageExclude10",
      "confidence": 0.751547685265541,
      "classification": "human"
    },
    {
      "models": [
        "brokenwand2"
      ],
      "heuristic": "AverageExclude20",
      "confidence": 0.751547685265541,
      "classification": "human"
    },
    {
      "models": [
        "brokenwand2"
      ],
      "heuristic": "AverageExclude30",
      "confidence": 0.751547685265541,
      "classification": "human"
    },
    {
      "models": [
        "brokenwand2"
      ],
      "heuristic": "TopRelevant",
      "confidence": 0.75,
      "classification": "human"
    }
  ]
}

Authorizations

X-Api-Key
string
header
required

Your API key.

Path Parameters

hash
string
required

The hash of the video.

Response

200 - application/json
The classification result.

The answer for video classification