ngx-barcode-scanner
ngx-barcode-scanner copied to clipboard
Unable to scan barcode with low resolutions using mobile device
Hi, I am not able to scan some sample barcodes (code 128) using the mobile device camera whereas we are able to scan it using the laptop's webcam. Do I need to change/update any configuration to support the mobile device? Actual the barcode images are too small and with low-resolution quality. sample barcode: https://determined-fermi-064edc.netlify.app/not-working2.jpg
Hi @m2pathan,
I tried to read the barcode with an iphone SE and it's working well. Which mobile device do you use ? What's the resolution of your mobile device ? If the resolution is too low, the video stream can not be analyzed correctly and barcode will be wrong
Hi,
I have problems readind the code 39 from any mobile device.
I updated my code from Angular version 5 to 11 and now I am using the last version of ngx-barcode-scanner 0.2.0 but the problem remain the same: Seem it is a problem with the resolution of the mobile's camara becouse I see fuzzy the image when the camara is actived.
I tried too with the following other libraries: Quagga, Quagga2 and ngx-zxing.
Anybody can help me?
Thanks and Best Regards,
@ludovaldivia Did you ever find a solution? thanks
@ludovaldivia I think your device uses one the other cameras ,which is why you see it blurry. You should provide a config object to specify your phone's main camera I think.