This is a tricky question, because aligning a perspective viewpoint with a background image is mainly a manual task.
Archicad has an "Align Tool," but it requires several logical reference points in the background image to automatically locate the camera location. [See the reference manual for the procedure]
To put a photo in the background, go to the Photorendering Settings dialog and assign an image.
Then, return to the OpenGL 3D Window Settings and assign the background "As in Photorendering." Make sure that your 3D view window is the size of the photo. You can now navigate the camera view to align the model with the context.
Dwight Atkinson