vue-qrcode-reader
vue-qrcode-reader copied to clipboard
Focus
We have some way to use focus?, our QR codes are really small and the camera does not taking good because the image is blurred. How can we fix it?
I was just browsing the MediaStream API specification and it looks like you can define what they call a Point of interest.
If I understand this correctly, you pass a set of coordinates (e.g. the location where the user tapped on the screen) and the camera is then auto-focused at this point.
Sounds like exactly what we need right? I'll try to implement this ASAP.
Yes! Is it!!
Thanks a lot!!!
Hi,
is there any progress on that feature? Does it work as described in the API specs?
Would love to see this feature in action as well.
@alqu turns out not a single browser currently supports this API. It's not even mentioned on MDN or Caniuse. The spec is pretty much the only source currently. Sorry, we have to wait until browsers start implementing it.
I solved it for a while using an autofocus camera powered by hardware.
@michalexvr what exactly do mean? Can you elaborate a little bit more?
@alqu turns out not a single browser currently supports this API. It's not even mentioned on MDN or Caniuse. The spec is pretty much the only source currently. Sorry, we have to wait until browsers start implementing it.
OK, you are right. So I use this as it is... Thanks! 👍
what exactly do mean? Can you elaborate a little bit more?
This camera (https://www.logitech.com/es-es/product/b525-webcam) supports autofocus by hardware i used this for what i needed.
Hi. I just faced same problem. What do you think, can it be solved by changing focus mode or by adjusting the focus manually, for example, with external slider, of course, for those browsers that support it?
This issue has been marked as stale. If there is no further activity it will be closed.