3 ms·
I assume the built in one that OP has? https://developer.mozilla.org/en-US/docs/Web/API/Barcode_Detection_API https://developer.mozilla.org/en-US/docs/Web/API/B
by martinald 3y ago
I assume the built in one that OP has? https://developer.mozilla.org/en-US/docs/Web/API/Barcode_Detection_API https://developer.mozilla.org/en-US/docs/Web/API/Barcode_Det...
- sevenf0ur 3y agoSafari doesn't support that API whatsoever so a third party JS library is really your only option. The landscape of open source barcode detection libraries is bleak at the moment.
- martinald 3y agoThat's a shame. Works really well on Android.
- asveikau 3y agoCan't you take a C library and compile to JS?
- cicko 3y agoWasm should also work, no?
- dannymoerkerke 3y agoIt does since iOS 17. For now you’ll have to enable it manually through Settings > Safari > Advanced > Feature Flags > Shape Detection API but I expect it to be enabled by default soon.
- JimDabell 3y agoThis is another Google-authored specification, implemented only by Google, which is not currently a web standard. It’s not just Safari that doesn’t support it; Firefox doesn’t either. It’s a Blink-only API. > Editors: > Miguel Casas-Sanchez (Google LLC) > Reilly Grant (Google LLC) > Status of this document > This specification was published by the Web Platform Incubator Community Group. It is not a W3C Standard nor is it on the W3C Standards Track. — https://wicg.github.io/shape-detection-api/ https://wicg.github.io/shape-detection-api/