covidpass-org / covidpass

Web app for adding EU Digital COVID Certificates to your wallet apps
https://covidpass.marvinsextro.de
MIT License
1.18k stars 62 forks source link

QR code detection in PDFs sometimes fails #155

Open fhibler opened 2 years ago

fhibler commented 2 years ago

Hi,

the PDF upload of the EU COVID certificate (export from CWA) is only working if I rotate the PDF, so that the QR code is on the top right corner. It did not work with the default layout.

Error message being shown: Could not find QR Code in provided file.

iPhone X iOS: 15.2 Latest Safari w/ default settings CWA: 2.15.1 (2)

marvinsxtr commented 2 years ago

I think the QR code is upside down there. In general, the QR code detection in PDFs seems to be kind of inconsistent. We already tried to optimize this but seem to have reached the limitations of the library we are using. Haven't found something better since.