Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The short answer: no.

A 2D image contains - hence the name - only 2-dimensional information. You can't get 3-dimensional (depth) information from that.

Unless... you have additional information.

  • If, for example you know there is a face in the image, you roughly know what a face looks like in 3d, so you can extract 3-dimensional information by analysing shadows, head pose etc...

  • Another way to get an object's 3d model from a 2d image is to project some known structure (e.g. a grid) onto the object and to use the grid's deformation to compute the surface.

  • in case of a video you can use successive images to detect corresponding points and compute 3-dimensional information from that.