We were both at a startup in Portland and our office was along the railroad tracks east of the Willamette. We were up on the 4th or 5th floor right above a lot of train traffic including Amtrak.
I brought in some extra Mac gear I had including one of the early iSight cameras which back then was an external device you stuck on the top of your display and connected to the Mac via FireWire. We set it up and rolled the desk over to the window in the office and turned the camera around pointing down at the tracks and Ward got to work hacking something up to do a slit scan.
It was a fun little project; the speed of the trains affected the horizontal compression of the images. We could tweak the software to expand or contract the size of the image by adjusting the number of slit scans per unit of time. Of course, that affected the exposure but I recall the camera having some automatic adjustments that gave us trouble.
That's about all we did with it. Just a quick afternoon hacking project. Neither of us thought much about it at the time so we didn't save anything.
A few years ago I took a photo out the window of a Shinkansen going 150 mph and was amused that everything in the foreground tilted significantly to the left because of this effect. This is about as close as I'll get to seeing what it's like to get sucked into a black hole.
[1] https://youtube.com/shorts/VQuI1wW8hAw [2] https://youtube.com/shorts/vE6kLolf57w [3] https://youtube.com/shorts/QxvFyasQYAY
I also shot a timelapse of the Tokyo skyline at sunset and applied a similar process [4], then motion tracked it so that time is traveling across the frame from left to right[5]. Each line here is 4 pixels wide and the original animation is in 8k.
[4] https://youtu.be/wTma28gwSk0 [5] https://youtu.be/v5HLX5wFEGk
Very beautiful and very clever. Loved it.
Press and hold your phone screen to switch between the front/back cameras, or hit "c" on a computer. Tapping the screen saves the image, as does "s".
> Random thought: If you stick a very small adhesive mirror to the outside window before boarding, then footage "looking down" at the regularly-spaced railroad ties could contribute to information about the current speed and acceleration.
> Well, on a straight section anyway, if you turn, the inner/outer edges will appear differently-spaced...
> Wouldn't do anything positive in terms of suspicious staff though. They might think it's like some kind of heist-movie that will involve a specialized glass cutter making a circle on the window.
Also, I think at some point someone shared some Japanese website where someone did these high quality photos of Japanese trains with a similar technique?
edit: I made this site to only show non-ai related posts like this one https://www.unslop.news/
Edit: I've captured and extracted-to-textured-mesh Mirker Bahnhof before it got covered by the scaffolding; if you're going to do another recording I'd highly recommend you include an IMU recording and ideally (though much less critically) a GNSS raw measurements recording that includes carrier phase. I've got a recorder for the latter that exposes a simple USB-serial port that should work great unless the GTW15 windows are EMI-shielding (but iirc they aren't).
> Displaying and sharing the pictures I've taken has been a pain throughout the project. Most software on my computer doesn't like how big they are, and the most reliable tool I've found for viewing them has been GNU IMP, which feels a bit overkill.
I vibe-coded my own image viewer, sriv, to address this: https://github.com/dllu/sriv
Also, I found that displaying the images with multiple rows instead of a single super wide image is a lot more ergonomic.
> I correct for it for a given subject by shifting the red and blue channels to line up with the green channel. Since the lines are evenly spaced, I can shift by the same amount in opposite directions rather than having to measure separate offsets for each channel. In theory, I could decide how far to shift by correlating brightness shifts across channels, but at present, I do it manually.
I implemented the correlation-based approach: https://daniel.lawrence.lu/blog/2025-09-21-line-scan-camera-...
Recently, I also vibe-coded a tool for me to manually annotate constraints to fine-tune the distortion correction: https://daniel.lawrence.lu/blog/2026-08-02-line-scan-camera-...
For a stationary camera imaging a train, you just need to estimate the train's speed. But for the inverse problem of imaging the landscape from a moving train, the speed varies due to parallax (near things move faster, far things move slower), so there's no way to fully eliminate the RGB fringing for all distances.
> The biggest one is to make it not dependent on a laptop to capture images, which will make it less sketchy and easier to bring places.
I did just that recently, by adding an NVIDIA Jetson Orin Nano and a 7" 2000 nit touchscreen as well as a custom-designed CNC aluminum case: https://daniel.lawrence.lu/blog/2026-06-12-standalone-cnc-li...
I gotta wonder. Owen from RanOutOnARail could make some incredible wide pictures from his journeys if he had this setup. Been watching his YouTube channel for years [0], [1]. He has a Patreon account with more videos [2].
He use to have a lot more videos on YouTube. It's illegal to ride trains the way he does, but his videos helped get me through the long time of the covid pandemic after I would stop work for the day.
[0] https://youtube.com/@ranoutonarail?si=ElAeMpcrJASsE3Ov
It was impossible (for me at least) to get a scan without shifting my hand position on the X-axis while also sliding the scanner down the picture.
Also, I seem to recall the scanner I used was only capable of outputting 1-bit dithered black and white pictures. This was late 80s/early 90s tech.
i.e. server is probably overloaded due to this story being on the front page.
It's fun to be able to see the 3d effects on passing bridges, etc., and for large baselines on long straight stretches you can see the 3d structure of clouds in a fascinating way.
https://i.dllu.net/2017-11-23-14-30-54_stack_cdb771693eea9fe...
Imagine taking a picture with a regular camera of a person nearby and a statue 16x times as large but 16x further away. Both figures would have the same apparent size: they would show up as the same number of pixels in width and height. However, with a line scan camera, the apparent width of objects does not change with distance. Those same objects would have the same apparent height, but the width of the larger statue would be 16x.
For example: https://railgallery.wongm.com/ev120-inspection-vehicle/F144_... https://www.youtube.com/watch?v=5TKDw2E_PBQ
It'd be cool to see some ridiculously wide, scrollable images from this process.
It was one of the first large-scale commercial applications of barcodes, and at one point 95% of railroad cars were equipped with it. Could've been a success, but it was a few decades too soo, and a handful of small but crucial implementation flaws doomed it to abandonment only a decade later.
* portable battery-powered enclosure with display: https://daniel.lawrence.lu/blog/2026-06-12-standalone-cnc-li...
* fine-grained distortion correction by manual annotation: https://daniel.lawrence.lu/blog/2026-08-02-line-scan-camera-...
Here's a recent Caltrain photo: https://commons.wikimedia.org/wiki/File:Caltrain_Stadler_KIS...
The downside is that they are highly specialized (in other words: expensive) and require knowledge of the belt speed to reconstruct a proper image. I would not be too surprised if modern high-framerate video cameras took over a decent chunk of that niche.
I've used modern high-speed cameras (>10k FPS in real-time streaming) and they just don't come close currently. Mainly an interface issue. There are some DMA/frame card alternatives but they haven't overtaken the market yet.
... as in not very good compared to normal camera ? Acceleratometer-based correction can only do so much
Normal camera allows you to get a snapshot of 2D area instead of 1D area so you can make any correction for movement afterwards. With linear one you just get artifacts like the introductionary pic being very wobbly up and down.