serratus / quaggaJS

An advanced barcode-scanner written in JavaScript
https://serratus.github.io/quaggaJS/
MIT License
5.08k stars 979 forks source link

ios issues! Is there anyway to zoom in on ios devices? #476

Open michaeljholmes opened 3 years ago

michaeljholmes commented 3 years ago

I'm trying to scan really small barcodes and it works fine on and android as I can zoom, does anyone know if I can do the same for ios? Are there any settings that might help on ios? Many thanks!

ericblade commented 3 years ago

here's a rather interesting article that might provide some insight. it doesn't say anything specifically about iOS, but perhaps iOS supports this api .. or might be able to do some digging to see if it does.

https://web.dev/camera-pan-tilt-zoom/

michaeljholmes commented 3 years ago

Thanks for the response!

Unfortunately ios don't allow any this functionality - I think this is just an unfortunate limitation when using ios devices.

Cheers

GuiCremasco commented 3 months ago

@michaeljholmes Hello! Could you tell me how you managed to enable the zoom feature on Android? I'm not getting it...

xulihang commented 1 month ago

We can use canvas to simulate zoom on Safari and Android browsers which do not support zoom natively. Check out this blog: https://www.dynamsoft.com/codepool/camera-zoom-control-on-web.html