Skip to main content
  1. Home
  2. Emerging Tech
  3. Computing
  4. Smart Home
  5. News

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

Add as a preferred source on Google

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
Image used with permission by copyright holder

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
Image used with permission by copyright holder

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…
Virgin Galactic is charging $750,000 for three minutes of weightlessness, and nearly 700 people are already in the queue
Three minutes of floating, one very expensive ticket.
Virgin Galactic featured image

I’ll be honest with you. Three minutes of weightlessness for the price of a very nice house sounds absurd to me. Even so, hundreds of people have already lined up to experience it.

Most recently, Virgin Galactic unveiled Apeiron, the first spaceplane in its new Delta class. The company flew it from its Arizona factory to Spaceport America in New Mexico, where it will begin flight testing.

Read more
Google is making Gemini and Search work better with the apps you love
Gemini's guest list is growing, and your favorite apps are invited.
Gemini AI on a phone.

Google has been finding more ways to make Gemini a part of your daily routine, from putting together playlists to ordering groceries through your favorite apps. Now it's expanding those capabilities to more services, with Google Search joining in, too.

The company has announced a new Connected Apps Platform that makes it easier for developers to bring their services to both Gemini and Search. Alongside this, Google is adding new partners to its growing lineup, bringing more of the apps people already use into its AI ecosystem.

Read more
AI bots are now trying to sabotage public health policies, like banning disposable vapes
Thousands of AI bots voted in a public health poll to block sales restriction on disposable vapes. It's like Big Tobacco is back from the dead.
Woman smoking a vape.

In the broad context of AI and its perceived harms, health and medical risks often pop up in the conversation. The warnings even come from frontier AI labs, such as ChatGPT-maker OpenAI and Anthropic, both of which have warned about misusing AI to cook up bioweapons. Security experts have already spotted a few such incidents in the wild, especially with the usage of AI models without any solid guardrails. 

Well, it appears that the risks run deeper. As per an analysis appearing in the British Medical Journal (BMJ), AI bots are now being deployed to influence public policies governing health risks to citizens. In this instance, an attempt was made using AI bots to thwart regulations that aim to restrict the sale of disposable vapes, all while disguising the manipulation efforts as a response from real humans. 

Read more