-
Notifications
You must be signed in to change notification settings - Fork 22
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
Diferents values of codeResult.code for the same object #24
Comments
Hi @mpvalente24, Yes, some error can happen when reading the same barcode. Possible improvement : currently, the first result is taken. By getting multiple scan results (for example 10 simultaneous scans), we could check what's the most relevant value. |
I am facing the same issue. I am getting different scan results every time when I scan for the same barcode. Compare each result with database every time to verify barcode is not proper way for the same barcode. Can you please help me to resolve this issue? Thanks. |
Hi @dharmesh-parekh, To ensure that your barcode is not analyzed in the wrong format, first verify that you limit barcode recognition to the type of barcode you want to handle. |
@dharmesh-parekh |
I will try to provide a default implementation in the near futur |
Hi, was this issue resolved ? Or is somebody still working at this package ? I saw https://stackblitz.com/edit/ngx-barcode-scanner-demo?file=src%2Fapp%2Fapp.component.html , which is new package, unfortunately unable to install as dependency to any project. But trying live demo, it seems to work very fast compare to this package used by much more people. |
Right now, i am reading a lot of values, but sometimes, they are diferents for the same material.
component.ts:
...
onValueChanges(result) {
console.log(result);
this.barcodeValue = result.codeResult.code;
}
...
component.html
...
There is some explanation for that to happen?
The text was updated successfully, but these errors were encountered: