Chrome is likely using ML Kit on Android under the hood on Android. [1]
Well if you try the demo I just made [2] you can find out. Works pretty well in Chrome Version 99.0.4844.51 (Official Build) (arm64) and on my Pixel 2. Naturally won't work on my iPhone because #SafariIsTheNewIE
[1] https://developers.google.com/ml-kit/vision/barcode-scanning...
[2] https://files.littlebird.com.au/barcode20.html