I have a rail line right under my apartment, so I built a small computer vision app running on a Rasperry Pi which records each train passing, and tries to stitch an image of it.
It has a frontend at https://trains.jo-m.ch/. Edit: it's currently raining and the rain drops are disturbing the images a bit.
This is such a cool project! I live right next to a busy road and for a long time have wanted to do something like this that would count the vehicles passing. I've always been curious how many cars pass on a given day and I feel like the hardest part now adays would be getting the right camera angle so if cars are occupying all 3 lanes they aren't counted incorrectly. From there I just need to detect cars as they pass and count them.
It's really cool to see it used like this! The resulting images are really neat as well!
This is close to what I've always wanted to build; a camera watching the road next to me that records the speed of the vehicle traveling by. I should have everything needed from a simple camera setup, but I've not bothered actually doing it.
Same here, I have a Pi 3 but I want to have this outside in the balcony, the question that always stops me is how to power it and what camera do I meed?
My plan was to stick the Pi inside, and power both it and the camera with Power over Ethernet (external-rated PoE cameras are a dime-a-dozen on Alibaba and friends).
I even got so far as to get it working with Zoneminder to dump out the clips that had motion, but didn't get further.
Could you show average speed vs car manufacturer? Or vs car type (compact, European luxury, minivan, truck). I've always wondered if this is correlated.
It has a frontend at https://trains.jo-m.ch/.
Edit: it's currently raining and the rain drops are disturbing the images a bit.
It's really cool to see it used like this! The resulting images are really neat as well!
https://trains.jo-m.ch/#/trains/350
https://trains.jo-m.ch/#/trains/3224
https://trains.jo-m.ch/#/trains/4045
Etc
Since you have speed, I should dig into this.
I even got so far as to get it working with Zoneminder to dump out the clips that had motion, but didn't get further.
Continue this thread — 1 reply
Used to yolov5 to detect vehicles and deepsort to track them, also got a rough estimate for the speed of the pass
heres the two part blog i wrote about it
https://dharisd.github.io/posts/vehicle-monitor/
https://dharisd.github.io/posts/vehicle-monitor-part-two/
Continue this thread — 6 more replies