Skip to main content

Amazon worker’s A.I.-powered cat flap stops his pet from bringing in dead animals

Image used with permission by copyright holder

How do you stop your beloved pet cat catching and murdering innocent wildlife, then bringing it into your home in the middle of the night and waking you up? There’s plenty of advice out there, ranging from getting sweet little Figaro a collar with a bell, to disincentivizing the act by quickly disposing of dead critters without making a fuss. Of course, if you’re a technically minded Amazon employee, there’s another option too: You rig up your cat flap to an A.I.-enabled camera and Arduino-powered smart locking system. You know, the good, old fashioned way.

That’s exactly what Amazon product manager Ben Hamm did recently, after reaching the end of his tether with cute-yet-murderous cat Metric. To create the door locking mechanism, Hamm affixed an Arduino to an electromagnetic bolt that he attached to the cat door. He also set up a camera using Amazon’s AWS DeepLens, a programmable video camera which can run deep learning models locally and take action according to what it sees. He then set about coding his solution using programming language Python and Amazon SageMaker, a managed cloud service that enables developers to build, train, and deploy machine learning models.

Cats, Rats, A.I., Oh My! - Ben Hamm

“The most important part of training machine learning software is getting your hands on enough data,” Hamm told Digital Trends. “First I programmed my camera just to capture images every time it detected movement, and then I spent months labeling over 23,000 images. As the most important data — Metric bringing in prey — happened unpredictably, this took time. If my camera failed when Metric brought in a rat, I would get disappointed. You start to get very greedy for quality data! Once I had the data nice and labeled, I fed it into Amazon SageMaker to create image classification models.”

Recommended Videos

The finished system means that, when Hamm’s camera detects Metric trying to bring in prey, it sends a USB signal that locks the door. (Because DeepLens does its processing locally, this will work even if Hamm’s internet goes down.) The cat flap remains locked for a quarter hour, and Hamm is sent a text message. He also set it up so that it sends a “blood money” donation to the National Audubon Society, which protects birds.

As to whether he plans to commercialize the technology, Hamm remains unsure. “The finished product is currently installed over the window of my cottage,” he said. “I was not planning on commercializing it, but the outpouring of desperate cat owners has definitely been interesting!”

Luke Dormehl
I'm a UK-based tech writer covering Cool Tech at Digital Trends. I've also written for Fast Company, Wired, the Guardian…
Sebastian Stan lays out Bucky’s future after Thunderbolts
Sebastian Stan in Thunderbolts.

There are some spoilers ahead for the ending of Marvel's Thunderbolts. Stop reading now if you don't want to be spoiled.

Earlier this year, Captain America: Brave New World briefly introduced a new direction for James "Bucky" Barnes, a character Sebastian Stan has been playing since 2011 in Captain America: The First Avenger. In Brave New World, the former Winter Soldier apparently retired from being a reformed hero and went into politics by running for Congress. Thunderbolts reveals that Bucky won his election to the House of Representatives. But his stay in Congress was short.

Read more
Jeep Compass EV breaks cover—but will it come to the U.S.?
jeep compass ev us newjeepcompassfirsteditionhawaii  4

Jeep just pulled the wraps off the all-new Compass EV, and while it’s an exciting leap into the electric future, there's a catch—it might not make it to the U.S. anytime soon.
This is a brand new electric version of the Jeep Compass, and being built on Stellantis' STLA platform—the same architecture underpinning models like the Peugeot E-3008 and E-5008—it looks much slicker and packs a lot more inside than previous versions of the Compass.
Let’s start with what’s cool: the new Compass EV is packing up to 404 miles of range on a single charge, a 74 kWh battery, and fast-charging that gets you from 20% to 80% in about 30 minutes. Not bad for a compact SUV with Jeep's badge on the nose.
There are two versions: a front-wheel-drive model with 213 horsepower and a beefier all-wheel-drive version with 375 horsepower. That AWD setup isn’t just for looks—it can handle 20% inclines even without front traction, and comes with extra ground clearance and better off-road angles. In short, it’s still a Jeep.
The design's been refreshed too, and inside you’ll find the kind of tech and comfort you’d expect in a modern EV—sleek, smart, and ready for both city streets and dirt trails.
But here’s the thing: even though production starts soon in Italy, Jeep hasn’t said whether the Compass EV is coming to America. And the signs aren’t promising.
Plans to build it in Canada were recently put on hold, with production now delayed until at least early 2026. Some of that might have to do with possible U.S. tariffs on Canadian and Mexican vehicles—adding a layer of uncertainty to the whole rollout.
According to Kelley Blue Book, a Stellantis spokesperson confirmed that the company has “temporarily paused work on the next-generation Jeep Compass, including activities at” the Canadian plant that was originally meant to build the model. They added that Stellantis is “reassessing its product strategy in North America” to better match customer needs and demand for different powertrain options.
So while Europe and other markets are gearing up to get the Compass EV soon, American drivers might be left waiting—or miss out entirely.
That’s a shame, because on paper, this electric Jeep hits a lot of sweet spots. Let’s just hope it finds a way over here.

Read more
Charlie Cox singles out his least favorite Daredevil: Born Again episode
Charlie Cox in Daredevil: Born Again.

Daredevil: Born Again season 1 was largely reconceived after the 2023 actor and writer strikes. Dario Scardapane -- a veteran of The Punisher series on Netflix -- was brought in to be the new showrunner and he made a lot of changes to the series that were well-received. However, there's one episode that Scardapane didn't really change at all, and it happens to be the least favorite episode of Daredevil: Born Again's leading man, Charlie Cox.

During an appearance on The Playlist, Cox noted that he wasn't very fond of the season's fifth episode, "With Interest," which was a largely standalone episode that featured his character, Matt Murdock, in a bank during a hostage crisis.

Read more