API
The Gcore Customer Portal is being updated. Screenshots may not show the current version.
Video Streaming
Video Streaming
Chosen image
Home/Video Streaming/AI video services/Content moderation/Weapon detection

Weapon detection

The weapon detection content moderation task identifies the presence of weapons in a video.

The check returns information about the object identified, the number of video frames where it was found, and the probability of the detected object. Objects with a probability of at least 30% are included in the response. For a full list of activities that can be detected with the weapon check, read our API documentation.

You can also use our API to integrate AI services that handle weapon detection into you business logic of website or mobile app.

To run the weapon detection check:

1. In the Gcore Customer Portal, navigate to Streaming > AI. The AI tasks page will open.

AI tasks page

2. In the Origin URL field, enter the link to your MP4 video. You have two options:

  • Paste video origin URL: If your video is stored externally, provide a URL to its location. Ensure that the video is accessible via HTTP or HTTPS protocols.

    To check the example of correctly formatted URL, use the link under the field. It will autogenerate a sample URL and you can adjust your URL accordingly.

    Example of the origin URL
  • Select from uploaded videos: choose a video hosted on the Gcore platform.

3. In the Task type, choose Content moderation.

4. In the following dropdown, select Weapon detection.

5. Click Generate task.

6. Wait until the task is processed and has the Sucess status, click the task ID to view task details.

7. Check out the Task result field. You can have one of the following outputs:

  • Weapon detection: not found. This means that your video has no content with a weapon.

  • If some sensitive content is found, you’ll get the info about the detected element, relevant iFrame, and the confidence level in % of how sure AI is that this content contains a weapon.

Weapon detection task details

Was this article helpful?

Not a Gcore user yet?

Explore the Streaming Platform by Gcore

Go to the product page