camera_calibration: making minimum number of samples adjustable