DetectBarcodesRequest operates differently among machines

Hi Apple Developers!

I’m using the DetectBarcodesRequest function to identify QR codes in some images and PDFs.

However, I’m facing an issue where the function doesn’t detect the barcode on certain documents and machines, while it works on others using the same document.

The only common factor I’ve noticed is that the machines that successfully identify the QR code of the “problematic” document are all heavy developer machines that have Xcode installed. Interestingly, this doesn’t seem to be related to processor type (Intel vs. Apple Silicon).

Could you please provide some guidance or leads on how to resolve this issue?

DetectBarcodesRequest operates differently among machines
 
 
Q