-
-
Notifications
You must be signed in to change notification settings - Fork 227
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
ngx-scanner can't read small barcodes?! #391
Comments
bibout182
changed the title
Why is the library can't read small barcodes?
ngx-scanner can't read small barcodes?!
Apr 6, 2021
same here. any news? |
Hi @bibout182, did you got the problem solved? |
I have the same problem. Is the problem solved? |
Same problem here. I'm on angular 13 and
|
Do you happen to have any update on this?? I'm using the latest version 18.0.0 of @zxing/ngx-scanner but still facing this issue. |
Sorry, no idea atm how we could resolve that.. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug, feature request, or proposal:
I'm developing an Angular App (Angular 11.2.0) and I'm trying to read a (small) code 128 on an employee badge.
I'm using an old webcam to test. It works well with normal size Barcodes or QR Codes but it doesn't work with the tiny Barcode on the employee badge.
I was thinking that the issue was the resolution of the web cam. I tried the same thing on my iPhone but it doesn't work either :/
I was checking for other libraries and I discovered this link https://demo.dynamsoft.com/barcode-reader-js/ .
I'm able to scan the code on the badge with this library. I'm looking for something basic, I already used ngx-scanner so I would like to keep using this one (also the other one needs a license key and it's $1249..)
What is the expected behavior?
I would like to be able to scan a barcode even if it's small with my iPhone which have a good camera.
I tried to had that to the code but I didn't notice any improvement :
constraints: any = { width: { min: 640, ideal: 1920, max: 1920 }, height: { min: 400, ideal: 1080 }, aspectRatio: 1.777777778, frameRate: { max: 60 } };
and this is how I declared the scanner in my html file :
<zxing-scanner [formats]="allowedFormats" [enable]="scannerEnabled" (scanSuccess)="scanSuccessHandler($event)" [videoConstraints]="constraints" [autofocusEnabled]="autofocus"></zxing-scanner>
Is there something I'm missing? I feel like the scanner is not using the capacity of the iPhone camera, am I wrong?
What is the current behavior?
The scanner doesn't seem to scan small barcodes.
Thanks for your help
The text was updated successfully, but these errors were encountered: