Depth player for Android Lens Blur images
JavaScript CSS C
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
assets
css
js
shaders
README.md
index.html

README.md

Depth Player for Android Lens Blur images

This is the code for the depth player here http://www.clicktorelease.com/code/depth-player, which is a tool to reconstruct scenes in 3D taken with the Android Lens Blur camera, using LensBlurDepthExtractor.js

It correctly converts depth information from the depth image into a 3D set of points that can be visualized as point cloud, wireframe mesh or solid mesh. The mesh is textured with the pre-blurred version of the image. There's option to export a .obj version of the reconstructed mesh, and an uploader to SketchFab.

Read about this in Creating Android Lens Blur Depth Viewer.

Demo: http://www.clicktorelease.com/code/depth-player

Credits

Coded using three.js, zip.js, StackBlur, LensBlurDepthExtractor.js and a modified version of THREE.OBJExporter.js to export models.

Images are all by me, taken with a Nexus5.

License

MIT licensed

Copyright (C) 2014 Jaume Sanchez Elias http://twitter.com/thespite

http://www.clicktorelease.com