Artificial intelligence-based system warns when a gun appears in a video

July 7, 2017, University of Granada
Artificial intelligence-based system warns when a gun appears in a video
Credit: University of Granada

Scientists from the University of Granada (UGR) have designed a computer system based on new artificial intelligence techniques that automatically detects in real time when a subject in a video draws a gun.

Their work, pioneering on a global scale, has numerous practical applications, from improving security in airports and malls to automatically controlling violent content in which handguns appear in videos uploaded on social networks such as Facebook, Youtube or Twitter, or classifying public videos on the internet that have handguns.

Francisco Herrera Triguero, Roberto Olmos and Siham Tabik, researchers in the Department of Computational and Artificial Intelligence Sciences at the UGR, developed this work. To ensure the proper functioning and efficiency of the model, the authors analyzed low-quality videos from YouTube and movies from the '90s such as Pulp Fiction, Mission Impossible and James Bond films. The algorithm showed an effectiveness of over 96.5 percent and is capable of detecting guns with high precision, analyzing five frames per second, in . When a handgun appears in the image, the system sends an alert in the form of a red box on the screen where the weapon is located.

A fast and inexpensive model

UGR full professor Francisco Herrera explained that the model can easily be combined with an alarm system and implemented inexpensively using video cameras and a computer with moderately high capacities.

Additionally, the system can be implemented in any area where video cameras can be placed, indoors or outdoors, and does not require direct human supervision.

Researcher Siham Tabik noted that deep learning models like this represent a major breakthrough over the last five years in the detection, recognition and classification of objects in the field of computational.

A pioneering system

Until now, the principal weapon detection systems were based on metal detection and found in airports and public events in closed spaces. Although these systems have the advantage of being able to detect a firearm even when it is hidden from sight, they unfortunately have several disadvantages.

Among these drawbacks is the fact that these systems can only control the passage through a specific point (if the person carrying the weapon does not pass through this point, the system is useless); they also require the constant presence of a human operator and generate bottlenecks when there is a large flow of people. They also detect everyday metallic objects such as coins, belt buckles and mobile phones. This makes it necessary to use conveyor belts and x-ray scanners in combination with these systems, which is both slow and expensive. In addition, these systems cannot detect weapons that are not made of metal, which are now possible because of 3-D printing.

For this reason, handgun detection through is a new complementary security system that is useful for areas with surveillance.

Explore further: Tracking humans in 3-D with off-the-shelf webcams

More information: Automatic Handgun Detection Alarm in Videos Using Deep Learning. arxiv.org/abs/1702.05147

Related Stories

Tracking humans in 3-D with off-the-shelf webcams

July 5, 2017

Many applications require that people and their movements are captured digitally in 3-D in real-time. Until now, this was possible only with expensive systems of several cameras, or by having people wear special suits. Computer ...

YouTube users be aware: Your viewing habits can be tracked

March 15, 2017

Despite YouTube's attempts to safeguard user anonymity, intelligence agencies, hackers and online advertising companies can still determine which videos a user is watching, according to Ben-Gurion University of the Negev ...

Recommended for you

Google braces for huge EU fine over Android

July 18, 2018

Google prepared Wednesday to be hit with huge EU fine for freezing out rivals of its Android mobile phone system in a ruling that could spark new tensions between Brussels and Washington.

EU set to fine Google billions over Android: sources

July 17, 2018

The EU is set to fine US internet giant Google several billion euros this week for freezing out rivals of its Android mobile phone system, sources said, in a ruling that risks fresh tensions with Washington.

3 comments

Adjust slider to filter visible comments by rank

Display comments: newest first

EyeNStein
3 / 5 (2) Jul 07, 2017
It should be able to tell John McClane when to duck or Robocop when to shoot first by analysing their film footage: If they can train it to shout at the TV screen.
EyeNStein
not rated yet Jul 07, 2017
1/5???
The above mentioned videos would be a much better test, with sub-optimal lighting, and fast moving objects, than the sideways presented still frame featured in the article.
rpaul2012
not rated yet Jul 09, 2017
There's a startup in the US that is already doing this for retail store protection and has a pilot with Walgreens. Deep Science AI.

Please sign in to add a comment. Registration is free, and takes less than a minute. Read more

Click here to reset your password.
Sign in to get notified via email when new comments are made.