Monitoring A Cat’s Litter Box Usage With AI

[Estefannie] is a proud cat owner, but one of her cats has a bad habit of eating plastic. That means she needs to keep an eye on that cat’s bowel movements, but with two cats in the house, it’s difficult to know who did what. Thus, she whipped up an AI system to log her cats bathroom visits and give her peace of mind.

It’s not the most glamorous project — [Estefannie] notes she took over 50,000 pictures of her cats using the litterbox to train Microsoft Azure’s Custom Vision model. But after some work, it could readily identify which cat was using the litter box when fed images from a NoIR camera. The system then differentiates between number 1 and number 2 via the time the cat spends in the litter box. It’s not perfect, but it works.

The Raspberry Pi runs a Node.JS server to collate the results, paired with a website front-end for easy data display. That way, anyone on [Estefannie’s] WiFi network can see who did what from a browser. We’ve seen cat litter boxes put on the Internet of Things before, and we’ve even seen people hack litterbox DRM, too.

7 thoughts on “Monitoring A Cat’s Litter Box Usage With AI

  1. I had a major plastic (sheet) eating cat that ended up getting megacolon and shortly after that diagnosis, he died, as he wasn’t having a good time of it. I tried hard to make his favorite snack unavailable, but he was more resourceful than me. Sometimes it had to be “pulled out” when he walked around with some dangling out his back side. He didn’t like that at all.

      1. I remember ‘old Harrold’ (big dog) ate a roll of electrical tape. Had poop on a rope syndrome. Resulted in humorous ‘tug of war’ with kind hearted lady. He was very irritated but fine.

        I once considered starting a web site with camera. “Two dogs, one litter box’. Installed cat door instead. Cat’s job was outside anyhow (fruit trees=rats). Dogs have to search for their favorite treat.

Leave a Reply to ComediclesCancel reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.