This article was published on July 1, 2019

There’s now an AI to prevent cats from bringing dead animals into your house


There’s now an AI to prevent cats from bringing dead animals into your house

We cover a lot of stuff related to AI. There are some fascinating models that can create talking head videos based on just one picture, or manipulate an image with just one click. But now there’s a fascinating model that can stop your cat from bringing dead prey home.

Ben Hamm, tcreator of the model and a product manager at Amazon, noticed his cat often brought dead animals back to the house as a ‘gift.’ As a cat person myself, I can totally relate to Hamm’s problem. While the cat got rid of rats to his relief, it’s not pleasant to wake up to a dead rat. So he turned to AI for help, and built a model that would lock the cat door when his pet tried to bringing a dead animal with it.

To train the AI, he installed an Amazon Deeplink camera above the cat door, and used different images of the cat with and without the prey. Over time, he labeled over 23,000 images to make the algorithm better at detecting if the cat is carrying prey. His algorithm follows three stages: detecting whether there is a cat in the frame, detecting if the cat is coming back or leaving the house, and detecting if the cat brings prey in its mouth while coming back.

Credit: Ignite Seattle/YouTube
A model to detect a cat with and without a prey

If all three stages are cleared the cat door is locked. He used an Arduino digital board to build a locking/unlocking mechanism for the door. The system also sends Hamm a text with pictures of the cat, and donates some money to the Audubon Society, a bird related organization.

The <3 of EU tech

The latest rumblings from the EU tech scene, a story from our wise ol' founder Boris, and some questionable AI art. It's free, every week, in your inbox. Sign up now!

Hamm said the AI has been working very well, and the cat was unfairly locked out only once. While all the research in the AI field is fascinating to see, it’s amazing to actually look at a practical AI application solving a real-life problem. Kudos to Hamm, and pets to the cat.

Update (07/07/2019): The earlier version of the story described Ben Hamm’s title as an engineer. We regret the error. 

Get the TNW newsletter

Get the most important tech news in your inbox each week.

Also tagged with