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…
Rivian offers $3,000 off select EVs to gasoline, hybrid vehicle drivers
Second-Gen Rivian R1S on a road

Early November typically kicks off the run-up to the Black Friday sales season, and this year, Rivian is betting it’s the perfect time to lure gasoline drivers toward its EVs.
If you own or lease a vehicle that runs on gasoline, which means even a hybrid vehicle, Rivian is ready to give you $3,000 off the purchase of one of its select fully electric vehicles -- no trade-in required.
The offer from the Irvine, California-based automaker extends to customers in the U.S. and Canada and runs through November 30, 2024. The program applies to Rivian 2025 R1S or R1T Dual Large, Dual Max, or Tri Max models purchased from R1 Shop.
Rivian’s new All-Electric Upgrade offer marks a change from a previous trade-in program that ran between April and June. There, owners of select 2018 gas-powered vehicles from Ford, Toyota, Jeep, Audi, and BMW could trade in their vehicle and receive up to $5,000 toward the purchase of a new Rivian.
This time, buyers of the R1S or R1T Rivian just need to provide proof of ownership or lease of a gas-powered or hybrid vehicle to receive the discount when they place their order.
Rivian is not going to be the only car maker offering discounts in November. Sluggish car sales from giants such as Stellantis and rising inventories of new cars due to improving supply chains suggest automakers and dealerships will be competing to offer big incentives through the year's end.
This follows several years of constrained supply following the COVID pandemic, which led to higher prices in North America.
According to CarEdge Insights, average selling prices for cars remain above what would be called affordable. But prices should continue improving along with rising inventories.
Stellantis brands are entering November with the most inventory, followed by GM and Ford, according to CarEdge. Toyota and Honda, meanwhile, have the least inventory, meaning they probably won’t be under pressure to offer big incentives.

Read more
AT&T, Voltpost bring internet connectivity to EV charging lampposts
att voltpost streetlight charging newlabdetroit 63

Move over, Supercharger network.

EV charging networks have been fast expanding across U.S. roads and highways over the past year, led by the likes of Electrify America, Tesla, and Chargescape, to name a few.

Read more
Volvo’s much-anticipated EX30 EV to reach U.S. before year end
Front three quarter view of the 2025 Volvo EX30.

Volvo is switching gears again, this time to accelerate deliveries of its much-anticipated EX30 subcompact electric SUV so that it reaches the U.S. before the end of 2024.

The Swedish automaker last summer had postponed the U.S. launch of the EX30 to 2025, citing “changes in the global automotive landscape." The move followed the Biden administration’s 100% import tariff on electric vehicles made in China.

Read more