Lurker News
Maybe you've created your own AR program for wearables that shows the definition of a word when you highlight it IRL, or you've built a personal calendar app for your family to display on a monitor in the kitchen. Whatever it is, I'd love to hear it.

Comments (1,792) 625 threads

Show all comments

Showing thread 3 of 625

jo-m47 replies#
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.

markusw#
Cool! :D
grilledcheez#
This is so cool!
globalise83#
No interest in trains, but your website is great - simple, visual and effective.
sirwitti#
This is really cool! Thanks for creating and sharing!
Jleagle1 reply#
Sounds interesting id love to know how you do it. Is the speed calculated based on the noise of the wheels going over a track join? Then you can work out the length/speed based on the time it takes etc. Are the train types/images random or calculated some how?
jo-m#
There is a parameter which tells the program how many pixels there are per meter. From this you can compute the length after stitching. Using framerate, you can compute the speed in the same way.
prenoob#
Taking trainspotting to a new level, congratulations
habi1 reply#
Awesome. Congratulations from a fellow Swiss (and panorama photo dabbler).
crossroadsguy#
And yet again I forgot it’s not the Chinese TLD.

By the way I have a quick expansion for most TLDs and for the Swiss .ch “cheese” sounds rather more apt and easier than the real one in my head :)

fransje261 reply#
Really cool. They look like model trains! :-)
dmd2 replies#
Yeah! I've never seen trains so clean and modern looking in my life. They look like they came out of a futuristic toy set.
4ggr0#
They're swiss trains, I guess we have enough wealth to make sure that our trains are clean. The interior is also almost always clean, except early morning on weekends (drunk people).

From time to time I see a train with graffiti on it, but usually they remove such things very fast.

uuuuuuuuuuuuuuu2 replies#
That's Europe for you. Usable train infra is actually a thing.
lpapez1 reply#
Maybe West Europe. Definitely not here in the east.

Continue this thread — 1 reply

cinntaile#
It somewhat works but let's not exaggerate how well it works.
tuukkah1 reply#
I wonder if there's open data or an open API for the schedule or location information. That way, you could include information on which train is which.
jo-m#
Yes, the APIs are there, with minute accurate real time data. Would just have to do it ;)
sandos#
Nice job! I would be really happy if I ever finished my own hobby projects this well.
detaro#
that is very neat, thanks for sharing!
Aeolun2 replies#
What’s up with the duplicated cars at the top?
mkl#
The camera is pointing at the car. The train is moving past the car. The images of the whole train are made by stitching together lots of photos, all containing the bit of the train in front of the car as it moves past it.
LoveMortuus1 reply#
From what I can see, they're not actually duplicated, I would suggest taking a closer look at the windows. But I do agree that it's quite hard to see the difference.

The trains look very clean from the outside. I do wonder how loud is it, to live so near the tracks.

iridium184#
They are also very clean from the inside :).

I also live right next to a train line in CH (that has exactly the same kind of rolling stock passing by as the ones captured by jo-m). These are modern commuter trains (no cargo and long distance trains), and are a lot less loud than you'd expect. A somewhat busy street nearby would be an order of magnitude more annoying.

spyremeown#
This is awesome. Really nice!
Hypergraphe#
So RAD !

Continue this thread — 32 more replies