: A look into the future
I'm working on version 6.0 of raspimjpeg. The idea is to break away from motion and use the motion vectors from the h264-encoder to support motion detection. This would enable motion detection with 30fps and very low CPU-usage, because everything is calculated on the GPU anyway.
There are still some questions open, but after many hours of trying I managed to show the motion vectors live on the web interface. If you are interested, a short demonstration is here: https://www.youtube.com/watch?v=5Yw94-f3GnY
. The code itself is here: https://github.com/roberttidey/userland ... nDetection
and if you want to try it on your own, here are the details: https://github.com/silvanmelchior/RPi_C ... /issues/56
. And last but not least the information from the developers themself: https://www.raspberrypi.org/vectors-fro ... stimation/
As I said, I have still some questions to solve (how to detect motion if not buffering/capturing, how to implement the scheduler, ...), but I'm very excited about the idea of having motion detection with full fps and done by the GPU.
So, what do you guys think? Is it a good idea to stop using motion and switching to the GPU? Do your projects still work without motion?