this post was submitted on 10 Apr 2024
20 points (95.5% liked)
Aotearoa / New Zealand
1659 readers
7 users here now
Kia ora and welcome to !newzealand, a place to share and discuss anything about Aotearoa in general
- For politics , please use !politics@lemmy.nz
- Shitposts, circlejerks, memes, and non-NZ topics belong in !offtopic@lemmy.nz
- If you need help using Lemmy.nz, go to !support@lemmy.nz
- NZ regional and special interest communities
Rules:
FAQ ~ NZ Community List ~ Join Matrix chatroom
Banner image by Bernard Spragg
Got an idea for next month's banner?
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Our parents adopted a cat a few years ago now, and they haven't installed a cat flap yet because he'll bring home a mouse, and they don't want him to bring them inside the house. So for now, they've been opening and closing the door everytime (they've setup a little security cam at the door so they know when he comes back), which unfortunately involves opening the door in the middle of the night.
So I've been meaning to try and build a "smart" cat flap that utilizes image recognition to detest if he's got a mouse in his mouth or not.
I had previously done a bit of research last year and gave up on it for some reason. Here's to hoping I get a bit further down the road this time, and have some success lol.
An easy "cheat" way to do it would be to use ChatGPT 4, you can submit a picture and ask it a question like "is there a cat in this scene and is it holding a mouse? Respond with either 'true' or 'false'".
Python examples here: https://platform.openai.com/docs/guides/vision
Nice PoC!
Huh. Super interesting! I should give this an initial go, and maybe when I come up with my "own" solution, benchmark them against each other. Wonder if there's a trade off (e.g., chatgpt is more accurate but takes longer due to all the back and forth required, whereas the local solution may not be as accurate but is faster)
It's honestly amazing how quickly all this stuff is evolving and growing. Thank you for that tip 👍😄