sin-tanaka/vue-quagga

readerSize with nested object not working

Opened this issue · 0 comments

Problem

When I passed the nested object to readerSize, Vue logs the validation warning and default size is applied.

(This does not work)

...
      readerSize: {
        width: { min: 800, ideal: 1600 },
        height: { min: 600, ideal: 1600 }
      },
...

While readerSize: { width: 800, height: 600 } is working, it'd be great if we can use the Quagga's configuration format.

Per my experience, higher resolution results in less error and dark environment.