In computer vision, we often should calibrate the camera of a device and find its intrinsic and extrinsic parameters (pinhole camera model). In order to do this, we should have the possibility to lock some camera settings (for example, focus) to calculate the camera parameters as accurately as possible. In this recipe, we'll consider some advanced settings provided by the
CvVideoCamera class that can help you during the calibration process.
We will use the
Recipe10_CapturingVideo project as a starting point, trying to add more control over the iOS camera. The source code can be found in the
Recipe11_AdvancedCameraControl folder in the code bundle that accompanies this book. For this recipe ...