Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Vetheasas opened this issue Dec 27, 2022 · 9 comments
Open

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

Vetheasas opened this issue Dec 27, 2022 · 9 comments

Comments

@Vetheasas
Copy link

Vetheasas commented Dec 27, 2022

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.

@CodingWithTashi
Copy link
Owner

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

@Vetheasas
Copy link
Author

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

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

@CodingWithTashi
Copy link
Owner

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

@Vetheasas
Copy link
Author

Vetheasas commented Dec 27, 2022

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.

@CodingWithTashi
Copy link
Owner

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

@Vetheasas
Copy link
Author

Screenshot_20221227-191029_Chrome

@Vetheasas
Copy link
Author

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😁

@AliEasy
Copy link

AliEasy commented Mar 14, 2023

Any update on this?!

@CodingWithTashi
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants