Create AI CM:weapon task
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:
- Content Moderation: Implement weapon detection in social media or video sharing platforms to automatically flag and review harmful content.
- Event Security: Use in surveillance systems at public events to enhance security measures through real-time threat detection.
- Personal Safety Apps: Develop apps that allow users to scan their environment for potential threats using their mobile devices. Weapon types can be detected:
- gun
- heavy weapon
- knife
How to use? Using our API you can integrate AI services that handle weapon detection into you business logic of website or mobile app. The information is returned with the video frame number where it was found and probability of the detected object. Identification is done using AI, so for each object a probability percentage is applied; objects with a probability of at least 30% are included in the response. Video processing speed is approximately 1:5. Example of a detected weapon:
{
"`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.
Authorizations
API key for authentication.
Body
Response
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
.