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

QRCode, EAN8 and UPCE bar codes don't read #65

Closed
sboydlns opened this issue Feb 8, 2018 · 13 comments
Closed

QRCode, EAN8 and UPCE bar codes don't read #65

sboydlns opened this issue Feb 8, 2018 · 13 comments

Comments

@sboydlns
Copy link

sboydlns commented Feb 8, 2018

It appears as though EAN8 and UPCE bar codes cannot be successfully read. Using VclTestApp any attempt to read either EAN8 or UPCE returns Unreadable!!

@sboydlns
Copy link
Author

sboydlns commented Feb 8, 2018

I'm also not having any luck reading QRCodes.

@sboydlns
Copy link
Author

sboydlns commented Feb 8, 2018

UPCA, EAN13, Code39 and Code128 seem to be working just fine.

@Spelt
Copy link
Owner

Spelt commented Feb 9, 2018

Hi can you post the barcodes? So I can take look.

@sboydlns
Copy link
Author

sboydlns commented Feb 9, 2018

I hope I'm attaching the file properly.

The file barall.tif contains a collection of test bar codes that came with a very old bar code reading SDK that I am looking to replace. The old SDK can read all bar codes on this page with no problem. ZXing.Delphi seems to be tripping over the EAN8 and UPCE bar codes.

The file CC102092018.tif contains a collection of sample QR Codes that I found in a web page. This image was created by printing the web page and then scanning it as a black and white image @ 300DPI. Delphi.ZXIng doesn't seem to be able to recognize any of the QR Codes on this page. BTW, if I save one of the QR Code images from the web page to a PNG file, the QR Code can be read.

TMP.zip

@Spelt
Copy link
Owner

Spelt commented Feb 9, 2018 via email

@Spelt
Copy link
Owner

Spelt commented Feb 9, 2018

unnamed

@Spelt
Copy link
Owner

Spelt commented Feb 9, 2018

I did scanned it from the monitor (which is not always a good idea, depends on your scaling). The green rectangle is 'tracking' the code. Making a screenshot is not easy :-)

@sboydlns
Copy link
Author

sboydlns commented Feb 9, 2018

You seem to be doing this from a phone using a camera. I'm doing this on Windows using VclTestApp.exe to read the TIFF file. I need this to work in Windows to be useful.

@sboydlns
Copy link
Author

sboydlns commented Feb 9, 2018

BTW, I am using ZXing.Delphi 3.4.5 compiled with Delphi 10 (Berlin).

@Spelt
Copy link
Owner

Spelt commented Feb 9, 2018

I see what you mean. Im investigating.

@Spelt Spelt changed the title EAN8 and UPCE bar codes don't read QRCode, EAN8 and UPCE bar codes don't read Feb 11, 2018
@Spelt
Copy link
Owner

Spelt commented Feb 11, 2018

The QRCode bug was identified and fixed v3.5. All QR Codes on the tiff are seperated and added to the unit test. It all works now. It also works via the vcl test app,

Can you verify and report back?

@sboydlns
Copy link
Author

The EAN8 and UPCE bar codes seem to be working. QRCode seems to work but only if there is just a single QRCode on the page. Attempting to read CC102092018.tif still fails. But if I modify that file by removing all but one QRCode it seems to work. I'm not sure if this is going to be a problem or not. I'm thinking not but only time will tell.

@Spelt
Copy link
Owner

Spelt commented Feb 12, 2018 via email

@Spelt Spelt closed this as completed Feb 12, 2018
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

2 participants