Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[Question] What is the difference between version 0.23 and version 0.10 for QR code recognition? #106

Open
hyojoo-cho opened this issue Aug 20, 2020 · 3 comments

Comments

@hyojoo-cho
Copy link

Hello.

I'm looking for a way to improve QR code recognition speed.
I'm going to use Ordroid H2 / Linux 18.04 / c++

Q1. In the case of Zbar, there are two versions. Compared to past version (0.10), is there any improvement on QR code recognition in the latest version?

Q2. As a result of testing with minimal code, zbar::scan(img) took 10ms to recognize QR marker about 35mm size. If I want to recognize only QR code, is there a way to speed it up?

Thank you.

@tobltobs
Copy link

tobltobs commented Oct 7, 2020

Version 0.23 seems buggy to me.
The attached QRcode decoded with 0.10:
DICDAn Ch Er On Qu Sch Sh St Th an and are ati atio cb ch ck con ee ent er ere ff fi fl for
With version 0.23:
n Ch Er On Qu Sch Sh St Th an and are ati atio cb ch ck con ee ent er ere ff fi fl for
The result from v0.10 is the correct one.

ssss

@mchehab
Copy link
Owner

mchehab commented Feb 15, 2021

Hello.

I'm looking for a way to improve QR code recognition speed.
I'm going to use Ordroid H2 / Linux 18.04 / c++

Q1. In the case of Zbar, there are two versions. Compared to past version (0.10), is there any improvement on QR code recognition in the latest version?

Version 0.10 were the original version, written many years ago. Version 0.20 and above is an effort of keeping maintaining ZBar. There are lots of differences and bug changes everywhere.

Q2. As a result of testing with minimal code, zbar::scan(img) took 10ms to recognize QR marker about 35mm size. If I want to recognize only QR code, is there a way to speed it up?

ZBar allows to disable other decoders. That could give you some performance improvements, e. g.:

./zbarimg/zbarimg -S*.disable -Sqr.enable examples/qr-code.png

@ldoolitt
Copy link
Contributor

Version 0.23 seems buggy to me.

The one-line patch I posted in #237 appears to fix this case. Please check.

ldoolitt added a commit to ldoolitt/zbar that referenced this issue Nov 25, 2022
@ldoolitt ldoolitt mentioned this issue Jan 30, 2023
mchehab pushed a commit that referenced this issue Apr 16, 2023
Seems to fix issues #106 and #237
Could use more testing

Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants