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

pdf417 Fail #228

Open
mynamecxy opened this issue Dec 13, 2022 · 0 comments
Open

pdf417 Fail #228

mynamecxy opened this issue Dec 13, 2022 · 0 comments

Comments

@mynamecxy
Copy link

mynamecxy commented Dec 13, 2022

QZXing decoder;
if(codeType == BARCODE_TYPE_QRCODE)
{
    decoder.setDecoder( QZXing::DecoderFormat_QR_CODE );
}
else
{
    decoder.setDecoder( QZXing::DecoderFormat_PDF_417);
}

decoder.setSourceFilterType(QZXing::SourceFilter_ImageNormal);
decoder.setTryHarderBehaviour(QZXing::TryHarderBehaviour_ThoroughScanning | QZXing::TryHarderBehaviour_Rotate);

retMsg = decoder.decodeImage(imageToDecode);

heip:retMsg is NULL when I use QZXing::DecoderFormat_PDF_417!

QZXing version is 3.3.0;
Qt version is 5.9.9 + VS2015
I tried, except PDF417,all ok!

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