an standalone class  for camera calibration