To get calibration data during video recording, I use AVCaptureDepthDataOutput
together with AVCaptureVideoDataOutput,
synchronized via AVCaptureDataOutputSynchronizer
(using the dataOutputSynchronizer
method of CameraController
in the example).
The issue is that AVCaptureDepthDataOutput
can only be used with .builtInLiDARDepthCamera,
meaning it isn’t available for devices without LiDAR.
-
Is it possible to obtain calibration data during video recording on devices without LiDAR, such as with
.builtInWideAngleCamera?
-
Can
lensDistortionLookupTable
andlensDistortionCenter
be used to undistort thesampleBuffer
I receive fromAVCaptureVideoDataOutput?