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

Datamatrix performance #98

Open
MejlaB opened this issue Apr 3, 2022 · 2 comments
Open

Datamatrix performance #98

MejlaB opened this issue Apr 3, 2022 · 2 comments

Comments

@MejlaB
Copy link

MejlaB commented Apr 3, 2022

Hello Everybody, I tried to use ZXing.Net to decode data matrix. When I test the application with QR and barcodes, then it works very well. When I tried to read datamatrix codes, then results were really poor. Datamatrix have to be in the middle of image and with almost no rotation, while QR can be anywhere and rotation has no significant impact to reading. Is it possible to use QR localization method also for datamatrix?

Thank you

MejlaB

@axxel
Copy link

axxel commented Jul 13, 2022

If that is still relevant to you, I'd like to point you to 'the other' c++ port: https://github.com/zxing-cpp/zxing-cpp. I completely reimplemented the DataMatrix detection code there. It works for arbitrary rotations and if you compile it with a c++20 compiler it also works for arbitrary positions of the symbols. The limitation in this repo here are (to my knowledge) inherited from the original Java implementation. And no, the QR localization is not usable to locate DataMatrix symbols.

EDIT: fixed the link above (was pointing to the Java version... sigh)

@TheUserOfGithub
Copy link

Hi Axxel, thank you very much for information about this port. I implemented datamatrix square location and its extraction + rotation already using OpenCV functionalities. It works, but have some week points, so I will definitelly try the port.

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