Counting Bees on a Raspberry Pi with a ConvNet
matpalm.com
matpalm.com
1. https://www.jevoisinc.com/products/jevois-a33-smart-machine-...
2. http://jevois.org/moddoc/DemoBackgroundSubtract/modinfo.html
The normal way to do this would be to use mobile net v2 with the tensorflow image detection pipeline:
https://github.com/tensorflow/models/blob/master/research/ob...
I'm new to CS and I'm always seeing all these cool projects I want to work on, but I don't know how much of a time commitment it really is to build a side project like this.
Juniors will probably get tripped up getting the environment setup
Medium level will probably get a simple one working OK but be unable to tune it (e.g. get stuck in execution speed or a false positive problem)
Senior engineers might be able to do it in 1-2 focused days.
But regardless of your skill level you should just attempt it. It doesn’t matter if you don’t get all the way through, you will learn loads in the process, and if you get stuck your subconscious will wittle away and you’ll have some lighting bolt moment while you’re in the shower, or biking, or playing games. If you’re new to the field go for it! If you get stuck and need some direction, feel free to email me
I wonder if this was done using full blown tensorflow, which might be leaving a lot of performance on the table. There are currently some efforts to improve the efficiency/optimization of getting a network to run well on the modest hardware of a pi e.g., tensorflow lite: https://www.tensorflow.org/mobile/tflite/ tvm: tvm.ai
What are these patches and what was your intuition on starting w/ it?
Honestly, your comment comes off as complaining that the in-flight wifi is too slow. He found an interesting problem and did a great job documenting his process + approach, if that doesn't belong in HN I don't know what does.
AFAIK it can't do this yet, but detecting bees in an image of the entrance is a first step towards doing any more advanced monitoring. A good next step is to track bees across successive frames, which gets you a) approximately how many bees enter/leave the camera view at each timestep and b) approximately how many bees enter/leave the hive at each timestamp. From that you can integrate to get the total number of bees moving in and out each day (which isn't the population, but is presumably correlated).