Create a c# script (Unity) to position the camera based on a photo

Job ID: 37910027

Budget: $30 – $250 USD

Then I have a photo of a room attached to the camera to be a background. I need the orientation of the camera to be good by selecting a flat horizontal rectangular surface on the photo. Or by selecting some vertical lines and/or horizontal lines and/or parallele lines.