Most active commenters
  • nkrisc(3)
  • messe(3)

←back to thread

382 points DamonHD | 27 comments | | HN request time: 0.921s | source | bottom
1. JKCalhoun ◴[] No.43697402[source]
Yeah, that is pretty wild.

I recall a co-worker doing something related(?) for a kind of fun tech demo some ten years or so ago. If I recall it was shooting video while passing a slightly ajar office door. His code reconstructed the full image of the office from the "traveling slit".

I think about that all the time when I find myself in a public bathroom stall.... :-/

replies(6): >>43697649 #>>43697859 #>>43698031 #>>43698264 #>>43698368 #>>43704374 #
2. Agree2468 ◴[] No.43697649[source]
Line scan cameras operate on this principle, and are still used in various ways to this days. I'm especially partial to the surreal photos generated by them at the end of cycling races

https://finishlynx.com/photo-finish-trentin-sagan-tour-de-fr...

replies(3): >>43697977 #>>43698748 #>>43698771 #
3. nkrisc ◴[] No.43697859[source]
> I think about that all the time when I find myself in a public bathroom stall.... :-/

Walk past a closed bathroom stall fast enough and you can essentially do that with your own eyes. Or stand there and quickly shift your head side to side. Just don't do it on one that's occupied, that's not cool.

replies(3): >>43697909 #>>43698349 #>>43698829 #
4. donatj ◴[] No.43697909[source]
"Sir, why do you keep running back and forth in the bathroom?"
5. JKCalhoun ◴[] No.43697977[source]
I was not aware of those.

Reminds me of slit-scan as well. And of course rolling shutters.

6. MisterTea ◴[] No.43698031[source]
> His code reconstructed the full image of the office from the "traveling slit".

This method is commonly used in vision systems employing line scan cameras. They are useful in situations where the objects are moving, e.g. along conveyors.

replies(1): >>43698185 #
7. geerlingguy ◴[] No.43698185[source]
Even today most cameras have some amount of rolling shutter—the readout on a high-megapixel sensor is too slow/can't hold the entire sensor in memory instantaneously, so you get a vertical shift to the lines as they're read from top to bottom.

Global shutter sensors of similar resolution are usually a bit more expensive.

With my old film cameras, at higher shutter speeds, instead of opening the entire frame, it would pass a slit of the front/rear shutter curtain over the film to just expose in a thousandth of a second or less time.

8. rosswilson ◴[] No.43698264[source]
This reminds me of https://github.com/jo-m/trainbot, a neat example of stitching together frames of passing trains to form a panorama.

This frontend presents them nicely: https://trains.jo-m.ch

replies(1): >>43698642 #
9. altruios ◴[] No.43698349[source]
The dither effect. Same as seeing through splayed fingers on a franticly oscillating hand.
replies(1): >>43698639 #
10. quietbritishjim ◴[] No.43698368[source]
Sorry if you're already aware, but in case not: The weird huge gap around the edge of cubical doors in pubic toilets is specific to the US. (For those that don't know, it's literally 1 or 2 cm.) In Europe you just get a toilet door that shuts properly and there's no slit to reconstruct.

I remember my first visit to a toilet in the plush US office of a finance company and thinking WTF are they doing with their toilet cubicle? I only found out later that it's common there.

replies(2): >>43698654 #>>43699553 #
11. Benjammer ◴[] No.43698639{3}[source]
This is the nerdiest way I've ever seen someone talk about John Cena
replies(1): >>43698728 #
12. stevage ◴[] No.43698642[source]
Surprised I've never come across this idea before
replies(1): >>43698968 #
13. stevage ◴[] No.43698654[source]
It can be much more than 2cm. The US really hates people for some reason.
replies(1): >>43701705 #
14. whycome ◴[] No.43698728{4}[source]
What's funny is that the described action didn't click until your comment.
15. whycome ◴[] No.43698748[source]
Similar to

https://hackaday.com/2024/08/17/olympic-sprint-decided-by-40...

16. hifikuno ◴[] No.43698771[source]
I love line scan cameras. Wikipedia has an awesome photo of a tram taken with a line scan camera on the relevant wiki page[1].

I've just moved to a house with a train line track out front. I want to see if I can use a normal camera to emulate a line scan camera. I have tried with a few random YouTube videos I found [2].

I think the biggest issue I face is that there simply isn't the frame rate in most camera's to get a nicely detailed line scan effect.

---

[1]: https://en.wikipedia.org/wiki/Line-scan_camera

[2]: https://writing.leafs.quest/programming-fun/line-scanner

replies(1): >>43702506 #
17. messe ◴[] No.43698829[source]
> Walk past a closed bathroom stall fast enough and you can essentially do that with your own eyes

Only in the US. The rest of the world has doors without a gap at the sides.

replies(2): >>43699036 #>>43699488 #
18. all2 ◴[] No.43698968{3}[source]
For a long time I've wanted to install one of these to pull graffiti off of trains. As art goes, graffiti is one of the last 'free' expressions where it is essentially truly anonymous and definitely not for money. Being free of those constraints, I think, frees the mind to truly create.

And I'd love an archive somewhere of some of the truly awesome train art I've seen.

replies(1): >>43702325 #
19. freddie_mercury ◴[] No.43699036{3}[source]
Doors in Vietnam are exactly the same as in the US.

You clearly haven't traveled much so you should refrain from sweeping generalisations.

replies(1): >>43699503 #
20. nkrisc ◴[] No.43699488{3}[source]
Well duh it won’t work if there’s no gap, no matter what country you’re in. It doesn’t get around the laws of physics.

Not every bathroom stall in the US has gaps either.

replies(1): >>43699592 #
21. messe ◴[] No.43699503{4}[source]
I don't quite know how to respond to that.
22. nkrisc ◴[] No.43699553[source]
I am aware, and of course this works for any gap you might be walking past. Plenty of newer bathroom stalls here do not have a gap.
23. messe ◴[] No.43699592{4}[source]
I'm sorry, but what point are you trying to make? Aside from: "Yeah, duh, you can't see through a fucking wall".

Mine was that, typically, people from outside the US, only ever experience toilet stalls with gaps when they visit the US.

Not every stall has gaps there, but I don't recall ever encountering it here in the EU.

24. fc417fc802 ◴[] No.43701705{3}[source]
I believe it started as an anti-drug thing more than 50 years ago but somehow it became pervasive even in fairly high end settings where you would never expect such measures. Cargo cult bathroom construction IMO.

Luckily things seem to be gradually changing.

25. jo-m ◴[] No.43702325{4}[source]
here you go... https://trains.jo-m.ch/#/trains/44010
26. mkl ◴[] No.43702506{3}[source]
A normal frame rate is probably enough if you do it with groups of columns rather than a single column of pixels. That's what https://trains.jo-m.ch/ does with a Raspberry Pi camera, posted in https://news.ycombinator.com/item?id=35738987 with lots of questions and answers.
27. nzach ◴[] No.43704374[source]
And if you "reverse" this idea you can make a "holographic(?) display"[0].

[0] - https://www.youtube.com/watch?v=ric-95ig5oE