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 not identified next to edges when using scanRect #48

Closed
nickw444 opened this Issue Sep 25, 2015 · 1 comment

Comments

Projects
None yet
2 participants
@nickw444

nickw444 commented Sep 25, 2015

There seems to be a slight issue with DataMatrix codes and using a scanRect.

Steps to reproduce:

  • Open advanced demo
  • Place scanner over DataMatrix code. Align code on the right (or left) side of the scan rect.
  • No code detected - Expected result: code detected
  • Slowly move device to align code to the centre of the scan rect. Code is detected.
  • Slowly move device to align code back to the right (or left) side. Code is detected in some places where it was not before, but does not stay detected all the way to the edge.

Perform the above steps with a QR Code, and see that it is detected no matter where it is positioned in the scan rect.

I am not sure if this is an issue with this library or an issue in Apple's implementation of QR decoding.

Screenshots of DataMatrix:

screen shot 2015-09-25 at 3 32 55 pm
screen shot 2015-09-25 at 3 33 03 pm
screen shot 2015-09-25 at 3 33 01 pm
screen shot 2015-09-25 at 3 33 01 pm

Screenshots of QR Code (Expected Behaviour)

screen shot 2015-09-25 at 3 33 26 pm
screen shot 2015-09-25 at 3 33 28 pm

@mikebuss

This comment has been minimized.

Owner

mikebuss commented Sep 26, 2015

MTBBarcodeScanner doesn't make a distinction between a QR code scanRect and a DataMatrix scanRect, so I'm pretty sure this is an issue with AVFoundation. You may want to create a sample project with straight AVFoundation code and send it to Apple in a radar. If you find that the pure AVFoundation sample project doesn't have this issue, please let me know and we can investigate any differences.

@mikebuss mikebuss closed this Sep 26, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment