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

China auto show highlights industry's electric ambitions

April 22, 2018

The biggest global auto show of the year showcases China's ambitions to become a leader in electric cars and the industry's multibillion-dollar scramble to roll out models that appeal to price-conscious but demanding Chinese ...

Robot designed for faster, safer uranium plant pipe cleanup

April 21, 2018

Ohio crews cleaning up a massive former Cold War-era uranium enrichment plant in Ohio plan this summer to deploy a high-tech helper: an autonomous, radiation-measuring robot that will roll through miles of large overhead ...

After Facebook scrutiny, is Google next?

April 21, 2018

Facebook has taken the lion's share of scrutiny from Congress and the media about data-handling practices that allow savvy marketers and political agents to target specific audiences, but it's far from alone. YouTube, Google ...

How social networking sites may discriminate against women

April 20, 2018

Social media and the sharing economy have created new opportunities by leveraging online networks to build trust and remove marketplace barriers. But a growing body of research suggests that old gender and racial biases persist, ...

Virtually modelling the human brain in a computer

April 19, 2018

Neurons that remain active even after the triggering stimulus has been silenced form the basis of short-term memory. The brain uses rhythmically active neurons to combine larger groups of neurons into functional units. Until ...

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.