News for hackers. Stuff that matters.
Re:Raspberry Pi Pet Detector Camera Using Python, TensorFlow... by qntty on Friday December 21, 2018 @11:10AM (#18734178)
My cat doesn't even know when he wants to go outside
Re:Raspberry Pi Pet Detector Camera Using Python, TensorFlow... by Xcelerate on Friday December 21, 2018 @11:36AM (#18734399)
Cat claws at door. Opens door. Cat sits there doing nothing.
Re:Raspberry Pi Pet Detector Camera Using Python, TensorFlow... by catpolice on Friday December 21, 2018 @11:53AM (#18734558)
I've noticed that a lot of cat behavior can be explained by realizing that they have an incredibly short attention span and any change in their sensory environment can distract them for the half second required to drop their entire mental state. So for the cat it's like "UGHHH I want in... Oh, there's the human! ... What's going on, why are you looking at me?"
Re:Raspberry Pi Pet Detector Camera Using Python, TensorFlow... by ep103 on Friday December 21, 2018 @12:00PM (#18734600)
I don't know if its so much that they have a short attention span.

My cat definitely, however, is unaware of the idea that the environment around him can be changed, and isn't static. He can figure out how to open doors, and that if something is playing dead it will run when he knocks it from a shelf, but those are the limitations of his ability to interact with the environment.

He's smart enough to know his treats are kept in a small bin on a shelf in my desk, that weighs under a pound, and is covered by a thick sheet of paper. He could knock the whole thing to the ground and get all the treats he wants. But because it looks too big to be an eatable animal playing dead, it simply doesn't occur to him he can push it open to get the treats inside.

That, I think, explains a lot of their behavior. The cat will scratch at the door to go outside. But when I open the door, he needs to take a moment or three to re-situate himself in his new environment, for him, his entire environment just changed unexpectedly. If I then poke my head through the door, he'll realize that its open now, and run through. But if I don't, he needs to re-assess his entire locale, realize that the open door means its passable, and ignore his confusion for how his environment changed so rapidly.

This is true with a lot of things. He'll complain that his litterbox is too dirty. I'll clean it. He'll leave the litterbox, and go do something else. Later, he'll come back, find that its clean, and go to the bathroom. Its not that he was being an asshole, he just knows enough to have figured out that meowing next to a dirty litterbox results in it eventually being clean, but doesn't seem to recognize that the action of me scooping in there is what is actively changing the environment, he needs to rediscover his litterbox as clean 1-5-10-15 minutes later.

etc

You can use this to your advantage to play games with the cat, interestingly enough. I play with him with this thing: https://www.chewy.com/snugglycat-ripple-rug-cat-activity/dp/...

Some days, he gets bored with it. So I unvelcro it, change its shape, and start playing again, and suddenly, its an entirely new toy, and he gets excited again! lol

Re:Raspberry Pi Pet Detector Camera Using Python, TensorFlow... by ergothus on Friday December 21, 2018 @01:01PM (#18735088)
> That, I think, explains a lot of their behavior.

I honestly think the hardest part of explaining cat behavior is how chaotic they are as a species. You can explain A cat's behavior, but it's harder to explain all of them. My cats, for example, completely understand knocking over (even large) containers to get food, understand that turning door knobs will open doors (thankfully their lack of thumbs means they usually don't have the grip to pull it off), but fail to understand that sitting ON the closed food container means I can't use it to feed them.

Ive read that not only are cats more recently domesticated than dogs (like, by an order of magnitude of years, with dogs domesticated 50k-80k years ago) but that domestication didn't involve OUR deliberate breeding of them outside of recent centuries, so the traits selected for are more about compatibility (for their benefit) than for anything we explicitly want. My personal theory is that housecats are often from such small genepools (that haven't had a lot of recessives weeded out of them yet) that cats tend to be this mix of genius and idiot and weird, so it's very hard to extrapolate generalities from a few specimens. But that theory is likely worthless.

Re:Raspberry Pi Pet Detector Camera Using Python, TensorFlow... by phkahler on Friday December 21, 2018 @04:57PM (#18737046)
>> cats tend to be this mix of genius and idiot and weird

I applaud you for trying to explain this. You could be completely right, or wrong... We're talking about cats after all.

Re:Raspberry Pi Pet Detector Camera Using Python, TensorFlow... by dhodges on Friday December 21, 2018 @02:35PM (#18735882)
When my cat asks to go outside, I open the door, and he stands in the open door for a few moments as if he's frozen, then he runs outside. It's as if he is assessing the outdoor environment for threats.

But when he is outside asking to come in, as soon as I open the door, he runs right inside. Perhaps it is because the inside environment is very stable for him with no threats ever so he trusts it.

He does this freezing behavior when guests enter the house. My housemate's cousin brought a huge dog for an afternoon visit. My cat froze entering the living room, detecting an unknown threat, and turned around again and went back to my room.

Gwern published a nice article about cats recently: https://www.gwern.net/Book-reviews#cat-sense-bradshaw-2013-a...

Re:Raspberry Pi Pet Detector Camera Using Python, TensorFlow... by __m on Friday December 21, 2018 @12:12PM (#18734682)
At least that’s what he wants you to think ;)
Re:Raspberry Pi Pet Detector Camera Using Python, TensorFlow... by andyidsinga on Friday December 21, 2018 @12:35PM (#18734857)
the eventually clean litterbox algo :)
Re:Raspberry Pi Pet Detector Camera Using Python, TensorFlow... by ep103 on Friday December 21, 2018 @01:11PM (#18735201)
async/await cleanLitterbox
Re:Raspberry Pi Pet Detector Camera Using Python, TensorFlow... by H1Supreme on Friday December 21, 2018 @12:31PM (#18734818)
I let my cat in and out of the side door a few times per day. When it's near dusk and the light shines directly through the glass, he won't come in. Like he thinks it's going to take him to another dimension. Very strange, but also very typical cat behavior.
Re:Raspberry Pi Pet Detector Camera Using Python, TensorFlow... by jldugger on Friday December 21, 2018 @12:01PM (#18734605)
You just misunderstand. The cat doesn't want out, it wants YOU to leave their house.
Re:Raspberry Pi Pet Detector Camera Using Python, TensorFlow... by _Microft on Friday December 21, 2018 @12:46PM (#18734973)
Try closing the door very slowly. I've observed cats waiting at a door becoming more and more nervous until they rush outside just before the door closes.
Re:Raspberry Pi Pet Detector Camera Using Python, TensorFlow... by threatofrain on Friday December 21, 2018 @11:57AM (#18734578)
Maybe cat wanted to trigger the door system to get some fresh air.
Re:Raspberry Pi Pet Detector Camera Using Python, TensorFlow... by andyidsinga on Friday December 21, 2018 @12:06PM (#18734646)
Your comment sounds like its a joke - but I suspect you are completely serious :) my cat comes down to the door as if it wants out, I open the door and it runs back inside. its about 50/50 chance it will actually go out.
Re:Raspberry Pi Pet Detector Camera Using Python, TensorFlow... by reaperducer on Friday December 21, 2018 @12:01PM (#18734607)
Someone smarter than me should adapt this so it sends a push notification every time it detects the cat ralphing up another load of tinsel, so I don't have to step in it in the morning.
Re:Raspberry Pi Pet Detector Camera Using Python, TensorFlow... by kbutler on Friday December 21, 2018 @11:36AM (#18734400)
Same. And we also have some neighborhood cats that occasionally hang around. We'd need to train the network to recognize which cat is by the door...
Re:Raspberry Pi Pet Detector Camera Using Python, TensorFlow... by knicholes on Friday December 21, 2018 @12:35PM (#18734862)
Using fast.ai to retrain some layers of resnet, after collecting and organizing the data, might take you ~2 minutes to train. I just trained one to differentiate between Coke, Diet Coke, Dr. Pepper, and Sprite. From beginning to end (excluding the time to learn on fast.ai and get it set up) it took 2 hours. Collecting the photos from Google's image search took most of my time.
Re:Raspberry Pi Pet Detector Camera Using Python, TensorFlow... by jf- on Friday December 21, 2018 @12:22PM (#18734764)
Project idea: Neural network instructs cat when to go outside.
Re:Raspberry Pi Pet Detector Camera Using Python, TensorFlow... by hellabites on Friday December 21, 2018 @12:17PM (#18734715)
My cat perpetually wants to go outside.