pub unsafe static VNImageOptionCameraIntrinsics: &'static VNImageOptionVNRequestHandler only.Expand description
VNImageOptionCameraIntrinsics Specifies the camera intrinsics as an NSData or CFData representing a matrix_float3x3. See kCMSampleBufferAttachmentKey_CameraIntrinsicMatrix for details
Camera intrinsic matrix is a CFData containing a matrix_float3x3, which is column-major. It has the following contents: fx 0 ox 0 fy oy 0 0 1 fx and fy are the focal length in pixels. For square pixels, they will have the same value. ox and oy are the coordinates of the principal point. The origin is the upper left of the frame.
Note: When using a CMSampleBuffer as an input and that sample buffer has camera intrinsics attached to it, Vision will use the camera intrinsic from there unless overwritten by passing in as an explicit option which will take precedence.
See also Appleās documentation