Automatically detect qr codes