How to select the other camera on the rear side of an iPhone 13
How to select the other camera on the rear side of an iPhone 13?
Html5Qrcode.getCameras() reports, that there is only one camere at the front and one at the rear. There are however two cameras on the rear and one at the front.
So, how to select the other rear camera than the usual one?
Is it possible to make the selected camera to automatically focus?
This library operates on top of the Camera APIs in web standards and the browser is responsible to return the cameras. The API & scanner seems to be requesting the cameras in standard fashion. I don't think we can request the other cameras from the browser.
Closing this as out of scope bug for the library.
Scandit can "see" all cameras and it generally works much, much better. It would be very nice to get the same benefits with this open source project.
Scandit can "see" all cameras and it generally works much, much better. It would be very nice to get the same benefits with this open source project.
Ah, very interesting!! Is there somewhere I can try it out?
Yes, go to: https://docs.scandit.com/stable/web/
Click the link here: Try out our live demo here.
I have tried it on my iPhone 13. Honestly, it works breathtakingly well, simply completely awesome.
What do you think, after you have tried it?
If you google around, you may see, that other's are also having the camera issue, and there are references to some publicly available code from the Scandit SDK, which shows how to get information about all the cameras. It seems like the issue is to be more specific on capabilities when querying for cameras.
Thanks I'll look into this.
You will be able to see, that it can also easily scan non-flat barcodes, e.g. on bottles, tubes of hand lotion etc.
Just tried scandit on iphone11. It is remarkably good! Scanned all my problematic barcodes - small, faded, dirty and all from a distance. I have no idea how they do it!
Just found this open source AI? lib too:
https://github.com/w-okada/image-analyze-workers/tree/master/012_barcode-scanner-worker-js