FlantasticDan / mocapMath

Motion capture is expensive and complex, but what if it wasn't?
GNU General Public License v3.0
11 stars 3 forks source link

Solve a 3D Camera for a Static Shot #8

Open FlantasticDan opened 5 years ago

FlantasticDan commented 5 years ago

Situation as it Stands

The current method of aligning cameras depends on using the built-in Blender camera solver and subsequently aligning the solve based on identical tracks. This means that even if the second camera is intended to be static, there needs to be initial non-nodal (hand-held) movement to provide perspective parallax for the solve.

Open CV

cv2.solvePnP() seems to be able to provide a 3D camera position based on a set of existing coordinates and their corresponding image UV given a camera matrix.

Going Further

If a single static camera can be oriented in 3D space it stands to reason that multiple static cameras could be properly oriented. Continuing down that rabbit hole, this could turn into an application for an entire motion capture studio.