vue-quagga icon indicating copy to clipboard operation
vue-quagga copied to clipboard

How to stop Quagga after barcode detected

Open mean-cj opened this issue 6 years ago • 2 comments

Hello

after detected the barcode my camera is not stop how to destroy or Quagga.stop() after barcode detected

Thank you so much.

mean-cj avatar Oct 20 '19 06:10 mean-cj

same question here, how to handle this quickly?

defji avatar Nov 10 '19 20:11 defji

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

MathieuDerelle avatar Jan 07 '20 10:01 MathieuDerelle