Skip to content

camera

camera #

The projective camera model the stages share, as the cgr.sfm.camera namespace.

A Pose as a matrix, pixels as rays, and the way back from a solved matrix to a Pose; the OpenCV-frame internals the solvers use (stacked cameras, the N-view DLT, the two-view and PnP solves) stay in geometry.

matrix = cgr.sfm.camera.camera_to_world(frame.pose)
centre = cgr.sfm.camera.position(frame.pose)