simple_barcode_scanner icon indicating copy to clipboard operation
simple_barcode_scanner copied to clipboard

Simple barcode scanner doesn't use the main camera in web mobile

Open Vetheasas opened this issue 2 years ago • 9 comments

I'm using the simple_barcode_scanner demo, and in the web version on an android phone, it uses the low resolution macro camera rather than the main camera. I have to get really close to the barcode, and since it is so low in resolution, it can't scan barcode well especially barcode on a screen rather than on a physical object.

Vetheasas avatar Dec 27 '22 09:12 Vetheasas

Hi @Vetheasas, Can you please provide me your device detail?

CodingWithTashi avatar Dec 27 '22 11:12 CodingWithTashi

Hi @Vetheasas, Can you please provide me your device detail?

I'm using the ROG phone 6(ASUS_AI2201_A), android 12.

Vetheasas avatar Dec 27 '22 11:12 Vetheasas

I will see if I can fix this, additionally you can check html5-qrcode since I am using this internally

CodingWithTashi avatar Dec 27 '22 11:12 CodingWithTashi

Thank you for checking this. I tried another barcode scanner package called qr_bar_code_scanner_dialog that uses html5-qrcode, and it is very responsive and accurate even when i choose the macro camera. The visual difference that I'm seeing in comparison to yours is the scanning zone is much bigger than yours.

Vetheasas avatar Dec 27 '22 12:12 Vetheasas

ah I see, I will check with that too see if I can integrate same, thanks

CodingWithTashi avatar Dec 27 '22 12:12 CodingWithTashi

Screenshot_20221227-191029_Chrome

Vetheasas avatar Dec 27 '22 12:12 Vetheasas

ah I see, I will check with that too see if I can integrate same, thanks

You're welcome. I hope to see this soon😁

Vetheasas avatar Dec 27 '22 12:12 Vetheasas

Any update on this?!

AliEasy avatar Mar 14 '23 10:03 AliEasy

Hi @AliEasy , no, not yet. I am still playing around with it. once get the proper solution. will update

CodingWithTashi avatar Mar 14 '23 10:03 CodingWithTashi