Hacker News new | past | comments | ask | show | jobs | submit login

Have you considered getting a line scan camera for sharper and higher resolution images? I took some train scans with one: https://daniel.lawrence.lu/photos/

Incidentally I also built some tech for it: https://github.com/dllu/nectar but I need to update the readme...




Thanks for sharing, those photographs are very clear and sharp (especially this one: https://pics.dllu.net/file/dllu-pics/boston-pcc.jpg) it seems to tickle my brain.


I have three of those actually:

https://daniel.lawrence.lu/photos/pcc

Technically, the photo could be twice the resolution, since the length of the line scan sensor is 4096. It consists of two lines, RGRGRG and GBGBGB. By interpolating the red and blue channels, it would be possible to get images 4096 pixels tall. The challenge is that the two green channels apparently have quite different sensitivity and also each pixel has some variation in sensitivity, which also seems to drift with temperature and settings, so it's quite annoying to calibrate everything properly haha.


This reminds me of Wes Anderson movies for some reason.


I'm a big fan of Wes Anderson's aesthetics and would love to shoot that funicular train from Grand Budapest Hotel (which actually exists --- the Buda Hill funicular) using my line scan camera.


His style is to shoot his subjects straight-on. Most other movies have the camera at an angle.


Wow, the pictures look amazing! Yes, the look of line scan images were an inspiration for this project. But of course, I also tried to keep BOM costs down and so ended up with a RP4 + RPi Camera.


The RPi HQ camera is a nice step up from the regular RPi camera while being not too expensive too. Incidentally, I also have a project using that [0] but unfortunately no trains where I live.

[0] https://daniel.lawrence.lu/blog/y2022m01d27/


Have you tried the opposite direction? Sitting on the train with the line feed and taking a picture of outside? Like say, a panorama view of the entire run-length of the line, distorted in proportion to the trains turns and accelerations.


I love how the line scan camera’s horizontal background makes it look like the trains are moving impossibly fast. Not only are the images sharp & high res, it has a great aesthetic and implies you were tracking an action shot.


I remember seeing your photographs on Wikimedia Commons and wondering how you did them - now I know! I always assumed that you just used a very quick shutter with an f-stop of zero :)


I have a huge backlog of photos that I need to contribute to Wikimedia Commons! I'll get around to doing it eventually, hopefully before 2045.


Do it sooner than 2038 and you get the privilege of 32-bit timestamps on the metadata :)


I know he told us how already, but that would have left the background sharp, rather than always the same.


Woah the resolution! You can see the earpods on a person behind the tinted windows of Shinkansen.


How do you get the x scaling right? You have to measure the speed of the train somehow?


When the train is moving at a constant speed, you can just scale the image manually to make it just right. If it's moving at a non-constant speed, you can apply a spline or similar to remove the distortion.


Your blog is a gem, thanks for sharing!




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: