Hello, I experienced a similar error when the request is a VNDetectBarcodesRequest child class (class BarcodeRequest: VNDetectBarcodesRequest). This only happened in iOS 15.x. I see you are using an AVVisionRectangleRequest object as your request, try using VNDetectRectanglesRequest directly instead and see if that helps.