Skip to main content

1990s blockbusters taught an artificial intelligence how to spot handguns

ai indentifies handguns pulp fiction
Image used with permission by copyright holder
Humans are hardwired to quickly spot objects in the corner of our eyes: Kids getting into trouble, snakes slithering into the room, and the like. That task isn’t as easy for algorithms, but they’re getting better. Someday soon they may even help humans spot dangerous objects we might have missed. Researchers at the University of Granada, for example, have used deep learning to train an algorithm to identify handguns from video in real time.

The system may be used in home security systems, police body cameras, and video surveillance at places like schools, airports, and malls. It could also be applied to videos online as a way to monitor and map violent content.

Recommended Videos

Although around 30 percent of American adults say they own guns; the weapons have a steady presence in our lives. They seem to be everywhere you look — carried by cops on TV or as a key component in many of today’s most popular video games. So it’s appropriate that the University of Granada researchers trained their system on movies like Pulp Fiction, and the Mission Impossible and James Bond franchises, through which many of us also had our first introduction to firearms.

After training the algorithm on low-quality video of these classic films, it was able to effectively identify drawn handguns more than 96.5 percent, while analyzing in real time at 5 frames per second. When the algorithm spots a handgun, it borders it with a red box. The researchers think that the model can be combined with an alarm system in order to quickly and inexpensively identify firearms in places where they’re forbidden or may pose a threat.

Although the scientists don’t expect their model to completely replace current weapon-detection systems like metal detectors, they see it as a complementary system to help address some of the drawbacks of conventional methods. For example, metal detectors require guns to pass through a certain point, which — as anyone whose passed a security checkpoint knows — can create a bottleneck of people in crowded areas. The model is also able to discriminate between guns and other metal objects, which the metal detector cannot.

Dyllan Furness
Former Digital Trends Contributor
Dyllan Furness is a freelance writer from Florida. He covers strange science and emerging tech for Digital Trends, focusing…
Chrysler, Dodge, Jeep and EVs offer big incentives as year nears its end
chrysler dodge jeep ev incentives record my24 hybrid gallery 04 exterior desktop jpg image 1440

It’s no secret that automakers and dealerships typically climb over each other to offer the best incentives before the year ends. But this year’s sales season is expected to be particularly competitive, with slowing sales translating to greater urgency to clear inventory.

According to research from Kelley Blue Book, the respected vehicle-valuation firm, overall incentives on new vehicle sales were up by 60% in October compared to the previous year.

Read more
Jeep, Ram EREVs will get 690-mile range with new Stellantis platform
A 2025 Ram 1500 Ramcharger sits in a vineyard.

Stellantis, the giant automotive group, is betting big on extending the range of both its hybrid and fully electric vehicles (EVs).

Last month, the company, which owns the Jeep, Dodge, and Ram brands in the U.S., invested nearly $30 million into an advanced wind tunnel at its research center in Auburn Hills, Michigan. The goal is to study airflow around a vehicle’s wheels and tires to further optimize its EVs and boost their range.

Read more
Self-driving vehicle rules set to loosen under Trump, report says
self driving looser rules trump screenshot 2024 10 at 54 56 pm 6708947b14810

Tesla “has been very clear the future is autonomous,” CEO Elon Musk said in October, shortly after unveiling the Cybercab, Tesla’s self-driving robotaxi.

It now seems that Musk, who was recently nominated to lead a newly-created "Department of Government Efficiency," is sharing his crystal ball with the incoming Trump administration.

Read more