Camera: added a check of the number of calibration points