Quick Python script to transform screenshots of 3D movies into a 3D meshes. See https://shkspr.mobi/blog/2018/04/reconstructing-3d-models-from-the-last-jedi for more details.
python3 screenshot_to_mesh.py screenshot.png
Will output a 3D mesh in PLY format. Images can be H-SBS (Side-By-Side) or OU (Over-Under).
From this screenshot:
To this mesh:
To this mesh:
From this screenshot:
To this mesh:
From this screenshot:
To this mesh:
The code runs quickly, even on older hardware. It should take less than a minute to generate a mesh, even on a modest machine.
In order to run the software, you will need:
This code is BSD. Please check the LICENSE file for contributors.
The screenshots in the samples
folder fall under the UK's "Fair Dealing" exception. They are for the purposes of private study, data mining for non-commercial research, and for criticism & review of 3D movies.
See https://shkspr.mobi/blog/2018/04/reconstructing-3d-models-from-the-last-jedi for more details.