3 ms·
I've taken a bit of my lunchtime to comment on this post in various places but one that kept coming up is "is there code for this, somewhere?" I have a camera
by mdip 11y ago
I've taken a bit of my lunchtime to comment on this post in various places but one that kept coming up is "is there code for this, somewhere?"
I have a camera setup on my RPi for this purpose, but never got around to tying in OpenCV (though it's something that's been on my list for some time). At the time I couldn't find/didn't look hard enough for a good open source implementation.
It looks like this can be done relatively easily using an RPi and Python: https://www.raspberrypi.org/forums/viewtopic.php?p=813535#p813535 https://www.raspberrypi.org/forums/viewtopic.php?p=813535#p8...
The Github repo for the code is here: https://github.com/pageauc/motion-track/tree/master/speed-track https://github.com/pageauc/motion-track/tree/master/speed-tr...
Video with a code walk-through and demo is here: https://youtu.be/eRi50BbJUro https://youtu.be/eRi50BbJUro
I know what I'll be doing tonight. :o)