Live data from Hacker News

Raspberry Pi Pet Detector Camera Using Python, TensorFlow, and Twilio [video]

youtube.com

81–84 of 84 posts

Re: Raspberry Pi Pet Detector Camera Using Python, TensorFlow, and Twilio [video]

#81
post #56

I have a capacitive touch button that my dogs press when they need/want to go outside that makes a noise and sends me an SMS. They used to have all hours access to it and when they expected me home at the end of the day, I would start receiving texts in rapid succession. Access was removed shortly thereafter. The novelty of getting drinks after work and receiving a "Where are you?" text from my dogs every three minut…

How did your dogs figure out that a button gets your attention? Did you have to train them in some way? Also, I am wondering how dogs know when to expect you back. Is their sense of time that accurate and they can easily realize that 9-ish hours passed?

It started with a small bell on a hook next to the door and I would take their paw and hit the bell before letting them outside. Eventually they caught on and I'd give them a lot of praise when they did it on their own. The next iteration was an analog setup and the latest uses a Raspberry Pi. I will say, I have three dogs and only one (the smartest) ever caught on with the bell and analog version. Two of them are able to use the newest version which is the easiest to trigger, since it has a touch surface that is 4x4 inches. The third dog has never caught on. But, he hates going outside, so it's likely he doesn't want to catch on.

I'm not exactly sure how they know when to expect me home, but they seem to have a decent sense of time or are sensitive enough to external triggers that condition them, like neighbors arriving home after work, rush hour traffic, etc.

They do exhibit certain behaviors when it's feeding time (hasn't been automated yet), which is the same every night and that is consistent through daylight savings changes and day lengths varying with seasons. So I assume they have some rudimentary sense of time.

Re: Raspberry Pi Pet Detector Camera Using Python, TensorFlow, and Twilio [video]

#82
post #77

Earlier quoted context omitted.

The first link, "Flo Control" (named after Flo the cat) was built in the late 1990's, and this link on MetaFilter ( https://www.metafilter.com/15802/ ) is from 2002, but the host link appears to be dead. The OP is kinda swatting a fly with a sledgehammer, but blindfolded, because the system would probably break if the door changed or someone moved something into the detection window. Problem with CNNs is training the…

Here's an archive.org link for "Flo Control": https://web.archive.org/web/20040401115046/http://www.quantu...

Thanks for finding that! I forgot about the wayback machine. I also forgot that is what websites looked like in the late 90's. /r/blunderyearsforwebsites

Re: Raspberry Pi Pet Detector Camera Using Python, TensorFlow, and Twilio [video]

#83

Very cool. The Raspberry Pi is turning out to be a nice platform for little AI driven projects like this. It's not using machine learning, but I'm just now finishing up a Christmas present; a web accessible treat dispense with live video. I know those exist commercially, but it has been a fun project to build one anyway. Terrible quality pictures: https://imgur.com/a/nesMdhy Raspberry Pi Zero W for the brains; Pimoro…

Love it, and about to dive into the world of 3d printing IoT devices myself. Currently in the process of choosing my modeling software, so your comments on freecad hit home. Would you do it in freecad again? I too want to support open source software and will accept ~2x speed reduction to do so, so I hope 10x is hyperbole, otherwise I need to reconisder.

Unfortunately the community definitely seems more geared towards fusion360. My gut reaction is that in general they don't value the open source aspect of freecad, but maybe it is just subpar for now.

Did you buy a 3d printer for this project? Don't have any source code available?

Re: Raspberry Pi Pet Detector Camera Using Python, TensorFlow, and Twilio [video]

#84

Very cool. The Raspberry Pi is turning out to be a nice platform for little AI driven projects like this. It's not using machine learning, but I'm just now finishing up a Christmas present; a web accessible treat dispense with live video. I know those exist commercially, but it has been a fun project to build one anyway. Terrible quality pictures: https://imgur.com/a/nesMdhy Raspberry Pi Zero W for the brains; Pimoro…

Love it, and about to dive into the world of 3d printing IoT devices myself. Currently in the process of choosing my modeling software, so your comments on freecad hit home. Would you do it in freecad again? I too want to support open source software and will accept ~2x speed reduction to do so, so I hope 10x is hyperbole, otherwise I need to reconisder. Unfortunately the community definitely seems more geared toward…

I haven't tried Fusion 360 yet, so I can't compare. For lack of any other options I would definitely use FreeCAD again. It wasn't a horrible experience.

I love supporting open source. For example, the 3D printer I have is the Lulzbot Mini 2. The company behind it is ... aggressively open source, to put it mildly (_everything_ is open source. Even their manuals for factory assembly are online.). Which is why I went with FreeCAD initially. But I lost a lot of time to A) the awkward UI; and B) bugs. Having just now, the day before Christmas, finished wrapping the gift ... I wonder how much time I would have saved using a "professional" CAD solution. shrug

Words of advice if you do go down the FreeCAD route; learn about dataplanes and shapebinder (check YouTube for tutorial videos). They are somewhat recent features. If you just look up FreeCAD tutorials you'll find a lot that tell you to bind sketches to faces. That's the old way of doing it and it can lead to a lot of problems. Dataplanes are the new way of doing it.

And be careful in the sketcher. A number of times I've had it tell me a sketch is fully constrained, but I was scratching my head because I didn't think it was fully constrained. A day later I'll go back into that sketch and it'll have realized its mistake and moved the sketch around (had one failed print because of that bug).

> Don't have any source code available?

I'm thinking of writing a blog post about the whole project at some point, with all the documentation and such. Bit exhausted right now...

Best of luck with your 3D printing!

Post reply on HN