Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Anyone used QZXing for datamatrix reading?
Qt 6.11 is out! See what's new in the release blog

Anyone used QZXing for datamatrix reading?

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 336 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    themts
    wrote on last edited by
    #1

    Hello guys,

    I'm trying to decode some datamatrix-codes.
    I thought QZXing looks easy to use but unfortunately I'm not able to decode a single code.
    First I tried the simeple example application "QZXingDragNDropTest"
    :: not able to decode my picture

    Then I wrote 5 lines of code to test it myself

        QImage imageToDecode("img_6_1.bmp");
        QZXing decoder;
        decoder.setDecoder(QZXing::DecoderFormat_DATA_MATRIX);
        decoder.setSourceFilterType(QZXing::SourceFilter_ImageNormal);
        decoder.setTryHarderBehaviour(QZXing::TryHarderBehaviour_ThoroughScanning);
    

    :: same result. Not able to decode my datamatrix-code. > ReedSolomonDecoder::findErrorLocations is failing

    Strange thing is that if I upload my picture to zxing.org, it is working.

    Is there anybody who can explain what's wrong?

    here is one sample-image:sample-code

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved