yannickl / QRCodeReaderViewController

Simple QRCode reader for iOS 7 and over
MIT License
628 stars 164 forks source link

Can't scan an EAN-13 barcode with the front camera on iPad #36

Open dhumblet opened 7 years ago

dhumblet commented 7 years ago

When using the front camera to scan barcodes, the image is mirrored. This causes the problem that the EAN-13 code is no longer scannable. ean-13

QR codes are scannable by both back and front camera. EAN-13 codes are also scannable by back camera.

Dirk- commented 5 years ago

The mirrored image is not the problem, the focus of the front camera is. It is a fixed focus camera, and you have to move the barcode too near to the camera to make it big enough to resolve it. But then it gets too blurry. I managed to scan barcodes in good lighting conditions and with good iPad cameras (e.g. iPad Pro 3rd generation) using this library. But this only works "sometimes".