3 ms·
Nice, I bought a pi to make a "cat on the kitchen table" alarm to handle a common problem. Have not had time to complete it, but the concept is: find the pixels
by phkahler 11y ago
Nice, I bought a pi to make a "cat on the kitchen table" alarm to handle a common problem. Have not had time to complete it, but the concept is: find the pixels that compose the kitchen table-top and get the convex hull of those. Next identify pixels that are "cat color" and are inside that hull. In the case of my cat, "cat color" is several colors and stray matches can be rejected if they are not near different colors in the collection - false positives are bad, as we don't want to turn it off during dinner and people have different clothes all the time.
Another challenge is scaring the cat out of the christmas tree. This will be coming up soon so I may have to finish this thing after all. Training the cat to stay off the table has gone well, since we keep interesting stuff off it when we're not there. The tree however is full of interesting stuff.
EDIT: to clarify, I never completed the table project, in part because it's not a problem any more.
- linkydinkandyou 11y agoWhat's wrong with a cat on the kitchen table?
- drdaeman 11y agoIf cats think it's generally okay to be on the table, they may jump when the table's used for cooking. And fur doesn't make a good condiment. If the cats are told table's off-limits, they'll still be there when you don't see them, but will have somewhat better discipline in your presence. That is, purring around the cooking person legs, expressing the desire to get some treat. At least mine behave this way (in one apartment we've lived in, kitchen table was prohibited for cats, in another it wasn't).