Skip to main content

DIY backyard security system turns on the sprinklers when it sees a trespassing cat

el gato android ransomware cat
Flickr/Jarjav CC
What’s the best way to stop cats from pooping in your garden? Depending on who you ask, answers might include ultrasonic cat repellents, chicken wire, or the use of certain plants to protect your lawn from feline defecation.

For Nvidia Systems Software Engineer Robert Bond, however, there was only ever one possible solution: training a deep learning neural network to turn on his garden sprinklers whenever it recognized a cat in his front yard.

Recommended Videos

“I mounted a camera on the garage that looks out over the garden,” Bond tells Digital Trends. “The camera is set to send images to an [Nvidia Jetson TX1] whenever something changes. The [TX1] then uses deep learning to decide whether the thing that moved is a cat or something else. If it’s a cat then it activates the sprinkler system.”

catsprinkler1

Bond says that he started training his neural network with a data set of around 1.2 million pictures gathered from the internet. These included plenty of pictures of cats, but most of them turned out to be cutesy close-ups portraits, rather than the kind of pictures he was looking for. “It was almost worthless for what I needed to do, because I was hunting for pictures of cats slinking around in my bushes,” he explains.

Bond notes that at this point his neural network was only successfully classifying around 30 percent of the cats that came into his garden. He decided to modify the neural network’s training examples by adding pictures he had taken himself. Recognition scores immediately jumped to around 90 percent.

catsprinkler2

The system hasn’t been perfect, however. For one thing, during the training process shadows were regularly classified as cats because they represented dark shapes moving across Bond’s lawn. Even Bond wasn’t immune from being classified as a feline. “I went to mow my lawn and the system somehow decided that the combination of me and my lawnmower counted as a cat,” he says. “I wound up getting pretty thoroughly sprayed.”

But for the most part the deep learning network has been a resounding success — and Robert Bond’s garden is now virtually cat free.

It’s simple when you know how, right?

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…
The best portable power stations
EcoFlow DELTA 2 on table at campsite for quick charging.

Affordable and efficient portable power is a necessity these days, keeping our electronic devices operational while on the go. But there are literally dozens of options to choose from, making it abundantly difficult to decide which mobile charging solution is best for you. We've sorted through countless portable power options and came up with six of the best portable power stations to keep your smartphones, tablets, laptops, and other gadgets functioning while living off the grid.
The best overall: Jackery Explorer 1000

Jackery has been a mainstay in the portable power market for several years, and today, the company continues to set the standard. With three AC outlets, two USB-A, and two USB-C plugs, you'll have plenty of options for keeping your gadgets charged.

Read more
CES 2023: HD Hyundai’s Avikus is an A.I. for autonomous boat and marine navigation
Demonstration of NeuBoat level 2 autonomous navigation system at the Fort Lauderdale International Boat Show

This content was produced in partnership with HD Hyundai.
Autonomous vehicle navigation technology is certainly nothing new and has been in the works for the better part of a decade at this point. But one of the most common forms we see and hear about is the type used to control steering in road-based vehicles. That's not the only place where technology can make a huge difference. Autonomous driving systems can offer incredible benefits to boats and marine vehicles, too, which is precisely why HD Hyundai has unveiled its Avikus AI technology -- for marine and watercraft vehicles.

More recently, HD Hyundai participated in the Fort Lauderdale International Boat Show, to demo its NeuBoat level 2 autonomous navigation system for recreational boats. The name mashes together the words "neuron" and "boat" and is quite fitting since the Avikus' A.I. navigation tech is a core component of the solution, it will handle self-recognition, real-time decisions, and controls when on the water. Of course, there are a lot of things happening behind the scenes with HD Hyundai's autonomous navigation solution, which we'll dive into below -- HD Hyundai will also be introducing more about the tech at CES 2023.

Read more
This AI cloned my voice using just three minutes of audio
acapela group voice cloning ad

There's a scene in Mission Impossible 3 that you might recall. In it, our hero Ethan Hunt (Tom Cruise) tackles the movie's villain, holds him at gunpoint, and forces him to read a bizarre series of sentences aloud.

"The pleasure of Busby's company is what I most enjoy," he reluctantly reads. "He put a tack on Miss Yancy's chair, and she called him a horrible boy. At the end of the month, he was flinging two kittens across the width of the room ..."

Read more