I'm making a simulator and I have an image like a piece of chair and it's in 2d and I need to create a 3d model of that to be able to apply texture to it by three.js. So ,How can I convert a 2d image to a 3d model?
There is no software in the world that can do this, simply because a lot of (3D) information is missing in the 2D image. As MarcClintDion pointed out, it can be done out of multiple images from the same chair, but I doubt the result will please you. I'd encourage you to watch some basic Blender modeling tutorials and model the chair, you'll be done in 30 minutes and have a clean model.