An automatic 3D scene generation pipeline based on a single 2D image