Hacker News new | ask | show | jobs
by yunusabd 1994 days ago
Not exactly the same, but I made something a while ago that takes a 2D image and tries to infer a depth map to create a 3D effect: https://awesomealbum.com/depth

It's based on [1] and runs entirely in the browser, allthough it takes a moment to create the depth map. It's more of a toy project at this point. But I was surprised when I saw that Google is doing the same thing now in Google Photos [2].

[1] https://github.com/FilippoAleotti/mobilePydnet

[2] https://www.theverge.com/2020/12/15/22176313/google-photos-2...

1 comments

This is great thanks for sharing!
Glad to hear! Another thing you can try is saving the original and the depth map and creating a 3D photo from them on facebook [1] (you don't actually have to post it to see the effect). They do all kinds of things behind the scenes, so the 3D effect is a bit more pronounced.

[1] https://www.facebook.com/help/414295416095269