Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
DataMatrix not identified next to edges when using scanRect #48
There seems to be a slight issue with DataMatrix codes and using a scanRect.
Steps to reproduce:
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:
Screenshots of QR Code (Expected Behaviour)
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.