Scan QR code

Hello, I’d like to implement the qr code scan functionality in my vaadin app.

I found this sample to take a picture and it works: https://cookbook.vaadin.com/camera

But during a qr code scan it is expected to have a “clickless experience”, I’d like to acquire the image without clicking the shoot button.

Do you know if it’s feasible?
Thanks

The easiest would be to use a JS lib and integrate it as web component to Vaadin Flow. There was something in the past which you can use to understand how it works or the docs about adding a custom JS component. https://github.com/MisoHampel/vaadin-14-qr-scanner

Will check this, thanks