Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There already is a library for extracting the depth map here: https://github.com/spite/android-lens-blur-depth-extractor (internet rocks, isn't it ;) )

As for the Shader - it's just a few lines of actual code.

Depthy is a quick weekend hack. There's a loong way before it.



Has anyone managed to replicate the lens blur effect that's being utilized in the new Android camera app? Or at least know what research paper it's based on?



That seems to just be using the depth map information stored by the app, not replicating the effect from scratch.


They recalculate the blur. Were you asking about calculating the depthmap?


Yes, I was wondering how to fully replicate the effect without the need for the app.




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

Search: