spite / depth-player

Depth player for Android Lens Blur images

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Depth player for Android Lens Blur images


Languages

Language:JavaScript 97.6%Language:CSS 2.2%Language:C 0.2%