Given virtual 3D model, single real world image and series of matching points in 3D (meters) and 2D (pixels), find the camera that synchronize virtual world and real world image (calculate the unknown camera parameters to allow a 3D computer generated model to be "overlaid" on top of a real photograph to make the two align together).
Requirements:
C/C++ code
Input: points pair in 3D (meters) and 2D (pixels)
Output: Perspective Camera
Optional: Simple test program that show virtual 3D model composed on real world image using calculated camera
This will involve using existing software for the camera matching.
I have licences for MatchmoverPro and ImageModeler which are high end apps specifically designed for this purpose.
You will get a match camera position/s for use with 3d App
The camera solution can be obtained by using photogrammetric techniques which will give you the most accurate results.
This is dependant on how much information you have for the 3D points of reference in the photos.