ti.barcode icon indicating copy to clipboard operation
ti.barcode copied to clipboard

Data Matrix unreliable

Open danny005 opened this issue 9 years ago • 4 comments

Whilte scanning of QR code is very fast and solid, the results for Data Matrix scans is unfortunately very unreliable. Some codes work, others not at all, especially with surrounding dark background. Does anyone face the same problem and has a proper solution? Tested with iOS.

danny005 avatar May 02 '15 06:05 danny005

I had the same issue but found that if you specify the "acceptedFormats" it works reliably.

Barcode.capture({
    animate:        true,
    showCancel:     true,
    showRectangle:  false,
    keepOpen:       false,
    acceptedFormats: [
      Barcode.FORMAT_DATA_MATRIX
    ]
  });

raefa avatar Aug 07 '15 22:08 raefa

I have the same code with ti.barcode 1.9.1 and Data matrix code does not work...But QR code it's ok

gsoulie avatar Mar 29 '17 09:03 gsoulie

That's why I'm using for DataMatrix this module: https://github.com/mikefogg/SquareCamera

danny005 avatar Mar 29 '17 18:03 danny005

@danny005 Sorry for bringing this up again, but is this still an issue? I noticed you used a different module, but ideally, this one would solve it already. We updated the XZing library a while ago, so this might be improved.

hansemannn avatar Jul 20 '18 11:07 hansemannn