Tuesday 26 February 2019

How to retrieve AVCameraCalibrationData from photo output on iOS?

I'm looking to retrieve the lens distortion coefficients (note: not focal length nor principal point) associated with a photo that I capture on an iOS device. From my understanding, the only way to do so on a iOS device is to use AVCameraCalibrationData. The official documentation only provides information on how to retrieve the camera calibration data from AVDepthData, but both the documentation and this StackOverflow answer imply that AVCameraCalibrationData can be used with images, not just with depth data.

Is it possible to retrieve AVCameraCalibrationData information when you're capturing an image? If so, is there documentation around this functionality?



from How to retrieve AVCameraCalibrationData from photo output on iOS?

No comments:

Post a Comment