QRCodeReaderViewController
QRCodeReaderViewController copied to clipboard
Can't scan an EAN-13 barcode with the front camera on iPad
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.
QR codes are scannable by both back and front camera. EAN-13 codes are also scannable by back camera.
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".