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

Code 93 with content AAAAAAAODW7R7HAT is not detectable where ODW7R7HAT is #508

Open
duxthefux opened this issue Jan 15, 2025 · 0 comments

Comments

@duxthefux
Copy link

Thanks for the great library!!

However, although I tried to play around with various options I did not find any solution to detect the following barcode pattern.
In my case the third party system (although I don't know why) uses "A"s as padding.

Barcode does not work

sample2

Barcode works

sample4

Code

var Quagga = require('quagga').default;

Quagga.decodeSingle({
    src: "sample4.png",
    numOfWorkers: 0,  // Needs to be 0 when used within node
    inputStream: {
        size: 800  // restrict input-size to be 800px in width (long-side)
    },
    locator:{patchSize:"medium",halfSample:false},
    locate: true,
    decoder: {
        readers: ["code_93_reader"] // List of active readers
    },
}, function(result) {
    if(result.codeResult) {
        console.log("result", result.codeResult.code);
    } else {
        console.log("not detected");
    }
});

Thanks a lot for your help!

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

1 participant