cozmo / jsQR

A pure javascript QR code reading library. This library takes in raw images and will locate, extract and parse any QR code found within.
https://cozmo.github.io/jsQR/
Apache License 2.0
3.7k stars 607 forks source link

How support 2D Data Matrix Code scan #93

Closed Jone-C closed 6 years ago

Jone-C commented 6 years ago

Hello cozmo,

About jsQR project for your share, it can very efficient work, can any method support DM(DATA MATRIX) code ?

cozmo commented 6 years ago

Hey @Jone-C - Unfortunately jsQR only supports QR codes, and that will probably not change in the future. I'd love if someone were to create a JSDataMatrix library, and there may be some parts of jsQR that could be useful (binarize and decode for example), but this would almost certainly be a separate library and not part of jsQR.

Happy to answer any additional questions if you have.

Jone-C commented 6 years ago

cozmo, thanks for your reply. Now I build a new schema , using JS decode QR Code and rely Ajax submit BASE64 image data to web server decode by zxing. That can adapt with our application scene.