Hope this post finds everybody safe and well at such a strange and worrying time globally.
I am currently trying to setup a camera trap at my bird feeder, and have so far setup an ESP32 WiFi camera module with a PIR sensor, which kind of, but doesn’t really work! The sensor keeps getting triggered by reflections from the sun and I have a feeling it just isn’t going to be sensitive enough. Currently once triggered I get an email with the photo attached.
Another way (looking for advice as to the feasibility of this) could be to stream a constant live camera feed to my own website and then monitor the stream against a “resting” image, i.e when no bird is present.
Can anyone suggest how to go about this? I understand p5.js is the extra web-friendly version of processing. Would it be possible to use this to monitor a live video stream and log changes and save them as stills from the stream?
Tricky things in my mind would be:
- Variations in light, morning vs evening. The change detection would still need to register no change against the “resting” image despite different light.
- Variations in weather, rain vs dry vs snow(willing to forget this as I can imagine this would be super hard). The change detection would still need to register no change against the “resting” image despite different weather conditions.
- Variations in feeder position, the wind may blow it slightly. The change detection would still need to register no change against the “resting” image despite slight movement.
Perhaps the sketch could just zoom right in/crop to the area of the stream which shows the feeder and ignore the rest of the image.
Attached is an image from the current setup (I know, the quality is laughably bad!)