vue-quagga
vue-quagga copied to clipboard
How to stop Quagga after barcode detected
Hello
after detected the barcode my camera is not stop how to destroy or Quagga.stop() after barcode detected
Thank you so much.
same question here, how to handle this quickly?
video is stopped when the component is destroyed
so something like this
<v-quagga v-if="hasDetectedABarcode" />
onDetected(result) { this.hasDetectedABarcode = true }
would work
duplicate of https://github.com/sin-tanaka/vue-quagga/issues/16