> It won't scan cards with AI - you manually enter the barcode, which I think makes it less prone to error.
This is a very interesting sentence.
I interpret this sentence as saying that manually entering a barcode is less error prone than letting AI do it, that AI would have an unacceptable margin of error (and this is probably an accurate assessment).
But you don't need AI to find or read barcodes. Finding and reading barcodes is a reasonably mature technology that has existed long before AI.
Barcodes exist as a fast, machine readable data transfer format meant to avoid data entry errors by avoiding manual data entry, and yet you've implemented manual entry in order to avoid errors?
Now, if one of the constraints you've put on your implementation is that it work only in the browser and you don't want to have to download a large barcode scanning library to the browser, then it makes sense to implement manual entry. But that has nothing to do with AI.
That being said, there are some barcode reading apps that can be used to prompt for a scan from a web page, and you get the barcode payload back. I've used an app called "bineye" on Android (source on GitHub) that works like this. This helps avoid error prone manual entry and gets the full barcode payload (many barcodes store/encode more information than the human readable text printed next to them).
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.
https://developer.mozilla.org/en-US/docs/Web/API/Barcode_Det... Chromium browsers have native support for reading many barcode types!
When 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/ seems browser friendly?
Generally I agree with your point on AI fuzziness here not being useful.
Could you add Codabar?
edit: oh, I guess you can't, because Apple Wallet doesn't support it.
i 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.
That would be pretty great. I have half a dozen codabar-based cards.
Try Pass4Wallet from the app store. It's free and supports a huge array of barcode types, including codabar. It's been my go-to custom card app for a number of years.
[dead]
Millions 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.
Ironically if I needed to manually copy the text from a barcode on my phone, I'd take a photo and use Apple's AI to select and copy the text from it.