zxing-js / library

Multi-format 1D/2D barcode image processing library, usable in JavaScript ecosystem.

Home Page:https://zxing-js.github.io/library/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TimeBetweenTwoScan is not working

RaphaelMcledger opened this issue · comments

Describe the bug
timeBetweenScansMillis is not working with BrowserMultiFormatReader

To Reproduce
I use vuejs

import { BrowserMultiFormatReader } from '@zxing/library'
const codeReader = new BrowserMultiFormatReader (null, 1000)
codeReader.decodeFromVideoDevice(
	undefined,
	this.$refs.scanner,
	(res) => {
		console.log(res)
	}
)

Expected behavior
console.log(res) should appear every 1000 milliseconds

Screenshots
image

Desktop (please complete the following information):

  • OS: Windows
  • Browser: Chrome
  • Version ^0.19.1
    Additional context
    I use VUEJS

Stale issue message