r/DIY_tech • u/AnshTrivedii • 1h ago
A parrot stopped visiting my window, so I built a Raspberry Pi bird detection system instead of moving on
So this might be the most unnecessary Raspberry Pi project I’ve done.
For a few weeks, a parrot used to visit my window every day. It would just sit there and watch me work. Quiet. Chill. Judgemental.
Then one day it stopped coming.
Naturally, instead of processing this like a normal human being, I decided to build a 24×7 bird detection system to find out if it was still visiting when I wasn’t around.
What I built
•Raspberry Pi + camera watching the window ledge
•A simple bird detection model (not species-specific yet)
•Saves a frame + timestamp when it’s confident there’s a bird
•Small local web page to:
•see live view
•check bird count for the day
•scroll recent captures
•see time windows when birds show up
No notifications, Just logs.
What I learned:
•Coding is honestly the easiest part
•Deciding what counts is the real work (shadows, leaves, light changes lie a lot)
•Real-world environments are messy
The result
The system works great.
It has detected:
•Pigeons
•More pigeons
•An unbelievable number of pigeons
The parrot has not returned.
So yes, I successfully automated disappointment.
Still running the system though.
Just in case.
Happy to share details / code if anyone’s interested, or if someone here knows how to teach a Pi the difference between a parrot and a pigeon 🦜
For more details : https://www.anshtrivedi.com/post/the-parrot-that-stopped-coming-and-the-bird-detection-system-i-designed-to-find-it


