OpenCV and the Wild Kingdom
scottsexton.co
scottsexton.co
I would love for this thing to consume minimal power too, so I only have to recharge the battery once per week (for example, this might not be possible, or maybe something much better is possible, i have no idea)
The most convenient option I can think of is a cheap smartphone with 3g/4g data connection that can somehow integrate with the motion sensor and enables me to write some code to send a message.
There must be something better suited to this though. Thoughts welcome.
I've considered BTLE and LoRa for a sensor network I have been planning.
1. A microcontroller with a LoRa module and a motion sensor will get you a long way and it will consume little to no power. That said, you also need to make sure you have a device to either read the signal or someone in a radius of 4 to 6km is hosting a lorawan gateway. If not, I'm sure people will be grateful if you set up one yourself - to my mind it's worth it and I happen to be the only person that hosts one and covers my area of the city. Just make sure you don't enable any of the other gimmicks the microcontroller might come with - wifi, bluetooth or whatever. For instance I have a bunch of these [1] and they seem like they would do the trick for you if you pair them with a motion sensor. I need to warn you though, the documentation is appalling.
2. If you do wanna go CV - you can but it will never be low power and you will need to figure out some connectivity. If it's a raspberry pi or some other SBC with GPIO, you could of course hook up lora to it. As for the CV itself - opencv will get you there or you could train a very small yolo-like neural network - if you control the environment/lighting and they are static, you only need a handful of sample images to train it and you will get great accuracy. Like even something in the very low double digits will do the trick. Imo that would be overkill and your best bet is still the first option.
On the other side you can setup e.g. an ESP32 that receives the LoRa message. This ESP32 can then communicate with whatever, using Wifi, USB-Serial or whatnot.
Alternative lowtech idea: a vibration switch (essentially a metal spring inside a metal ring/tube, when vibration is big the spring touches the ring/tub and contact is made). This contact switches a mosfet that then discharges into an IR-LED. This means you get a thing that flashes IR-Light when it is vibrated and doesn't use any power (appart from the leakage of the capacitor) when it isn't active.
On the other side you need to detect the IR pulse and do something with it, e.g. using an Arduino/ESP32 or something among those lines. Of course this means you need to have line of sight between the two.
"503 Service Unavailable
No server is available to handle this request. "
I wonder how difficult it would be to detect specific actions in the video frames, like “cat eating food”?
Adding an electric scale to the bowl would certainly cut down the false positive rate you're going to get (from the cat, safe to say the raccoon will always be eating if it overlaps the bowl).
[0]: https://www.virustotal.com/gui/url/8d8ed17d3e28dc16fc10b6d76...