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

Issue scanning barcode #63

Open
DavidVTurley opened this issue Mar 3, 2024 · 2 comments
Open

Issue scanning barcode #63

DavidVTurley opened this issue Mar 3, 2024 · 2 comments

Comments

@DavidVTurley
Copy link

DavidVTurley commented Mar 3, 2024

Hi,
I have been using this to try and scan some EAN-13 barcodes. However it does not seem to recognise it.

I have been able to scan a qr-code, so it does work. But it just cant seem to scan the bar code.

This is the image that doesn't work:
image

And this one does:
image

And the code:

<BlazorBarcodeScanner.ZXing.JS.BarcodeReader 
    ShowStart="true"
    ShowReset="true"
    ShowVideoDeviceList="true"
    ShowToggleTorch="true"
    OnBarcodeReceived="LocalReceivedBarcodeText" 
    OnErrorReceived="Error"/>

@code {
    private void LocalReceivedBarcodeText(BarcodeReceivedEventArgs barcodeArgs)
    {
        string barcode = barcodeArgs.BarcodeText;
    }

    private void Error(ErrorReceivedEventArgs error)
    {
        var message = error.Message;
    }
}
@marcosgerene
Copy link

same.

@SamutecSc
Copy link

This seems to be resolved. The Demo-App (App) works with the barcode.

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