Making an opengl object from photos (mobile devices)

Hi all, i need to know if i can make a 3d object from photos and show this object using the opengl libraries, can you give me a suggestion? Thanks in advice

Rendering 3D data isn’t a problem with OpenGL. The problem is to determine 3D positions from a photo. However, that’s nothing you can do directly with OpenGL.

Thanks, i’m searching for a script or something that can transform my photos in an opengl object or something like that.