ericblade / quagga2

An advanced barcode-scanner written in Javascript and TypeScript - Continuation from https://github.com/serratus/quaggajs
MIT License
743 stars 85 forks source link

[Feature] Code 93 extended support possible? #30

Open NemoN opened 4 years ago

NemoN commented 4 years ago

Would it be possible to support Code 93 Extended? (https://www.activebarcode.com/codes/code93.html)

ericblade commented 4 years ago

I don't see any obvious reason why it wouldn't be possible. I'm not familiar with it, and I don't think that that link on it's own provides quite enough information.. this might be of some use https://en.wikipedia.org/wiki/Code_93#Full_ASCII_Code_93 as well as http://www.barcodeisland.com/code93.phtml

I do note also that there's a "decodeExtended" function inside Code 93 reader already, i'm not sure if that's directly related to the Extended format of code 93, or if it's just how the function was named internally. So it might? already be there.

If you could provide some samples, perhaps someone could take a stab at it?