[HN Gopher] Barcode Detection API ___________________________________________________________________ Barcode Detection API Author : addcninblue Score : 14 points Date : 2022-03-09 22:26 UTC (34 minutes ago) (HTM) web link (developer.mozilla.org) (TXT) w3m dump (developer.mozilla.org) | miohtama wrote: | As 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.? | bena wrote: | Because while barcode scanning is a subset of image processing, | it's a use case that's pretty common. | rahimnathwani wrote: | To allow the implementation to take advantage of libraries | provided by the operating system[0] (where available), without | the web site developer needing to even know that it's | happening. | | [0] or things like Google Play Services. | ape4 wrote: | Even thought its on mozilla.org is not supported by Firefox | according to the matrix at the bottom. | happytoexplain wrote: | These docs are a general web developer resource that Mozilla | maintains - they are not specific to Mozilla products. | hunterb123 wrote: | You'll find many features in MDN docs that applies to. | | That's mainly because of the expansiveness of MDN docs, | somewhat due to the funding distribution of Mozilla. | PaulHoule wrote: | ... it decodes the barcode too? ___________________________________________________________________ (page generated 2022-03-09 23:00 UTC)