ios – Rework AVMetadataObject coordinates to captured picture

ios – Rework AVMetadataObject coordinates to captured picture

I am making an attempt to detect a QRCode and take a cropped picture of it utilizing Swift. Nevertheless I am unable to rework the coordinates of the detected AVMetadataObject to the right picture house coordinates. That is my prototyping code: import SwiftUI import AVFoundation class CodeScannerViewController: UIViewController { var captureSession: AVCaptureSession! var previewLayer: AVCaptureVideoPreviewLayer!…

Read More