... it decodes the barcode too?
Barcode Detection API
11–20 of 141 posts
Re: Barcode Detection API
#12Re: Barcode Detection API
#13... it decodes the barcode too?
What it does not appear to do is further decode the raw value into logical data. E.g. data matrices commonly contain GS1 element strings that are not trivial to decode. There are libraries for that, though.
Re: Barcode Detection API
#14Re: Barcode Detection API
#15Re: Barcode Detection API
#16Even thought its on mozilla.org is not supported by Firefox according to the matrix at the bottom.
Re: Barcode Detection API
#17Re: Barcode Detection API
#18As the page does not discuss the motivation behind the API, does anyone know why this is ”native” API and not just a generic image processing script implemented with JavaScript / WebGL / etc.?
Re: Barcode Detection API
#19... it decodes the barcode too?
According to this documentation, yes, it returns the raw value encoded in the barcode. What it does not appear to do is further decode the raw value into logical data. E.g. data matrices commonly contain GS1 element strings that are not trivial to decode. There are libraries for that, though.
Re: Barcode Detection API
#20As the page does not discuss the motivation behind the API, does anyone know why this is ”native” API and not just a generic image processing script implemented with JavaScript / WebGL / etc.?
At this point in time it's a pain point for me that Android devices don't usually have built-in QR reader software. I can tell iOS users to just "scan the code with the Camera" app but I have to tell Android users to find a QR scanner app on the app store. My experience with an actual bottom-of-the-line prepaid phone was that the first QR scanner app I downloaded from Google Play worked right the first time but I had…