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.

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.

Editors' Recommendations

Dyllan Furness
Dyllan Furness is a freelance writer from Florida. He covers strange science and emerging tech for Digital Trends, focusing…
A.I. researchers create a facial-recognition system for chimps
facial recognition chimpanzee selfie

From unlocking smartphones to spotting criminals in crowds, there’s no shortage of reminders that facial recognition technology has gotten pretty darn good. Among humans, that is. But now researchers from the U.K.’s University of Oxford and Japan's Kyoto University want to expand the tech’s capabilities -- by making a facial recognition system that works with chimpanzees, too.

The A.I. system showcased an impressive recognition accuracy level of 92.5%. It was able to correctly identify a chimp’s sex 96.2% of the time. In a competition against humans, the system was 84% accurate when asked to identify chimps in 100 random still images. Humans managed precisely half as well, guessing the chimps' identity correctly just 42% of the time. But the real improvement was time. Humans took 55 minutes to complete the task, whereas machines took just 30 seconds.

Read more
A.I. can spot galaxy clusters millions of light-years away
ai identify galaxy clusters 205077 web 1

Image showing the galaxy cluster Abell1689. The novel deep learning tool Deep-CEE has been developed to speed up the process of finding galaxy clusters such as this one, and takes inspiration in its approach from the pioneer of galaxy cluster finding, George Abell, who manually searched thousands of photographic plates in the 1950s. NASA/ESA

Galaxy clusters are enormous structures of hundreds or even thousands of galaxies which move together, and for many years they were some of the largest known structures in the universe (until superclusters were discovered). But despite their massive size, they can be hard to identify because they are so very far away from us.

Read more
Adobe develops tool to identify Photoshopped images of faces
adobe photoshopped face detection imageforensics 1

With deepfake videos making headlines recently and campaigns against the over-Photoshopping of models picking up steam in the last few years, people are more aware than ever of how images can be digitally manipulated. Now the company that created Photoshop, Adobe, wants to give tools to users to let them spot faked images themselves.

"While we are proud of the impact that Photoshop and Adobe’s other creative tools have made on the world, we also recognize the ethical implications of our technology," Adobe wrote in a blog post. That's why it has developed a method for identifying edits made to an image using tools like Photoshop's Face Aware Liquify feature. This particular feature was chosen because it is frequently used to change facial expressions, making it a useful test case for identifying image manipulation.

Read more