Comment by Theodores
12 hours ago
I have a long-standing dream to use a line scan camera from a moving train, assuming everything would be easy, if I had the camera. Little did I realise how much work is needed to tidy up the imagery!
Your work is extremely beautiful, and I am truly envious of your work, the aesthetic is awesome. I want to do it on the cheap though, with a regular phone as camera.
I think you have given me the directions needed to make some bold steps towards getting what I want out of the 'medium'.
If you want to use a regular phone or camera, check out TrainScanner!
https://github.com/vitroid/TrainScanner
It converts a regular video into a line scan style photo. It works by stitching together small chunks rather than 1px thin slices, so the background has a repetitive texture rather than being smooth horizontal stripes. But at lower resolutions, it looks similar, especially if you pick a spot with a clean background. Also the trains turn out very detailed.
Example work by Kakeyama from Japan using this: https://kakeyama.fan.coocan.jp/tec/e5e8r.htm
Have you seen https://philo.gay/linecam/ and https://github.com/FlamingSpork/grindstone for the postprocessing code?
(previously on HN frontpage, and before that, at EMF Camp!)
I actually reached out to Philo on GitHub Issues but she hasn't responded yet [1]. I also mentioned her cool camera on my blog [2].
By the way, I recognize your username as the person that Philo credits with "rewriting grindstone in idiomatic NumPy". That's super cool!
[1] https://github.com/FlamingSpork/grindstone/issues/1
[2] https://daniel.lawrence.lu/blog/2026-06-12-standalone-cnc-li...