Camera calibration is important for any image processing to be a highly accurate representation of the real world. "Geometric entities of the camera, such as the projection centre and image plane, can be computed quite simply from its matrix representation. Specializations of the general projective camera inherit its properties, for example their geometry is computed using the same algebraic expressions."
This algorithm show how to extract the relevant camera parameters from a sequence of images with using of OpenCV library. For this example you will need to print out this image as a full page:
Example Checkerboard