Instance Property


A Boolean value that specifies whether to configure the capture pipeline for delivery of camera intrinsics information.


var isCameraIntrinsicMatrixDeliveryEnabled: Bool { get set }


Camera intrinsics describe the current imaging parameters of a capture device in ways that can be useful for rendering overlays or performing computer vision tasks. If this property is true, any AVCaptureVideoDataOutput object in this connection includes the kCMSampleBufferAttachmentKey_CameraIntrinsicMatrix attachment in all sample buffers it vends. The default value of this property is false.

You can set this property to true only if the isCameraIntrinsicMatrixDeliverySupported property is true (which requires a capture connection involving video). You can change this property's value only before calling the AVCaptureSession startRunning() method.

See Also

Managing Camera Calibration Delivery Settings

var isCameraIntrinsicMatrixDeliverySupported: Bool

A Boolean value indicating whether the capture connection currently supports delivery of camera intrinsics information.