Wrong offsets when displaying multiple VNRecognizedObjectObservation boundingBoxes using SwiftUI – Ios swift
I am using Vision to detect objects and after getting [VNRecognizedObjectObservation] I transform the normalized rects before showing them: let transform = CGAffineTransform(scaleX: 1, y: -1).translatedBy(x: 0, y: -CGFloat(height)) VNImageRectForNormalizedRect(normalizedRect, width, height) // Displayed with SwiftUI, that's why I'm applying…