This algorithm identifies the presence of weapons in a video. Generic info about all capabilities and limits see in the generic “Content Moderation” method. What is Weapon detection? AI-powered weapon detection in videos opens up numerous possibilities for enhancing security, content moderation, and user safety. Commonly used for scanning UGC for inappropriate content. Uses cases:
{
"`weapon_detected`": true,
"`detection_results`": [ "heavy-weapon" ],
"frames": [
{
"label": "heavy-weapon",
"`frame_number`": 1,
"confidence": 0.58
},...
]
}
Example response when weapons were not found:
{
"`weapon_detected`": false,
"`detection_results`": []
"frames": []
}
Please note that the API only provides a set of data (json) about the objects found, so no video is generated. The demo video video (above ^) was specially created based on json from the API for visual demonstration and better perception of the possibilities.
API key for authentication. Make sure to include the word apikey
, followed by a single space and then your token.
Example: apikey 1234$abcdef
Response returns ID of the created AI task. Using this AI task ID, you can check the status and get the video processing result. Look at GET /ai/results method.
The response is of type object
.