4 ms·
i should've been clearer: while browsing i found multiple apps that do this. most use AI to extract data from images and are much more feature-rich - you can ph
by alentodorov 10mo ago
i should've been clearer: while browsing i found multiple apps that do this. most use AI to extract data from images and are much more feature-rich - you can photo your boarding pass and it goes straight to wallet. however, i noticed that AI sometimes gets details wrong. for example, when i uploaded just a barcode image, it couldn't create the pass because the model also wanted a "name" field.
- Moto7451 10mo agoWhen I’ve done similar things in the past I found there was always a library for barcode/QR use cases before such things ended up being built into the OS/Framework I’m in. https://serratus.github.io/quaggaJS/ https://serratus.github.io/quaggaJS/ seems browser friendly? Generally I agree with your point on AI fuzziness here not being useful.
- dmd 10mo agoCould you add Codabar? edit: oh, I guess you can't, because Apple Wallet doesn't support it.
- alentodorov 10mo agoi think there's a way but it's hacky. instead of using the barcode property it would add an image based on your inputted codabar.
- carlosjobim 10mo agoMillions of barcodes are scanned every second, and has been for the past few decades. So it seems very strange that there aren't any solution readily able for your app, which isn't AI. I have to scan bar codes every once in a while with an app on my iPhone, which definitely doesn't use AI. It will instantly recognize a bar code before I've had a chance to line up the camera properly, and the error rate is zero.
- paulirish 10mo agohttps://developer.mozilla.org/en-US/docs/Web/API/Barcode_Detection_API https://developer.mozilla.org/en-US/docs/Web/API/Barcode_Det... Chromium browsers have native support for reading many barcode types!