Blender Daily writes:
In this tutorial I demonstrate a simple technique to integrate 3d models into any image! Among other things you'll learn how to extract the camera perspective from the photo and how to get realistic shadows. I hope you find it useful!