Added the camera calibration pattern detection.